Jump to content

Iet's tegen alle players zeggen.


Recommended Posts

Geplaatst:

Het is gewoon de code van Sandra, zonder iets erbij dus..

Daaruit kunnen wij niet zeggen wat die regels zijn, dus doe eventjes die regels

het zijn de strcmp regels.

en ik heb dit gewoon toegevoegt op een blanco script (met OnPlayerUpdate, etc..)

en dit gewoon op de goeie plaats gezet.

Geplaatst:

Het is gewoon de code van Sandra, zonder iets erbij dus..

Daaruit kunnen wij niet zeggen wat die regels zijn, dus doe eventjes die regels

het zijn de strcmp regels.

en ik heb dit gewoon toegevoegt op een blanco script (met OnPlayerUpdate, etc..)

en dit gewoon op de goeie plaats gezet.

nu snap ik't al helemaal niet meer wat je bedoelt.....

Geplaatst:

Het is gewoon de code van Sandra, zonder iets erbij dus..

Daaruit kunnen wij niet zeggen wat die regels zijn, dus doe eventjes die regels

het zijn de strcmp regels.

en ik heb dit gewoon toegevoegt op een blanco script (met OnPlayerUpdate, etc..)

en dit gewoon op de goeie plaats gezet.

nu snap ik't al helemaal niet meer wat je bedoelt.....

hier het script:

// This is a comment

// uncomment the line below if you want to write a filterscript

//#define FILTERSCRIPT

#include <a_samp>

#if defined FILTERSCRIPT

public OnFilterScriptInit()

{

print("\n--------------------------------------");

print(" Blank Filterscript by your name here");

print("--------------------------------------\n");

return 1;

}

public OnFilterScriptExit()

{

return 1;

}

#else

new lbc[MAX_PLAYERS];

new BlockBC[MAX_PLAYERS];

main()

{

print("\n----------------------------------");

print(" Blank Gamemode by your name here");

print("----------------------------------\n");

}

#endif

public OnGameModeInit()

{

// Don't use these lines if it's a filterscript

SetGameModeText("Blank Script");

AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);

return 1;

}

public OnGameModeExit()

{

return 1;

}

public OnPlayerRequestClass(playerid, classid)

{

SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);

SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);

SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);

return 1;

}

public OnPlayerConnect(playerid)

{

return 1;

}

public OnPlayerDisconnect(playerid, reason)

{

return 1;

}

public OnPlayerSpawn(playerid)

{

return 1;

}

public OnPlayerDeath(playerid, killerid, reason)

{

return 1;

}

public OnVehicleSpawn(vehicleid)

{

return 1;

}

public OnVehicleDeath(vehicleid, killerid)

{

return 1;

}

public OnPlayerText(playerid, text[])

{

return 1;

}

public OnPlayerCommandText(playerid, cmdtext[])

if(strcmp(cmdtext, "/broadcast", true, 10)==0)

{

if((lbc[playerid]-GetTickCount()) < 3000)

{

SendClientMessage(playerid, 0x00FF00, "You are allowed to use this command only once every 3 seconds");

return 1;

}

lbc[playerid] = GetTickCount();

new str[128];

format(str, 128, "*Static signal* %s", cmdtext[11]);

for(new i; i<MAX_PLAYERS; i++)

{

if(BlockBC==0)

{

SendClientMessage(i, 0x00FF00AA, str);

}

}

return 1;

}

if(strcmp(cmdtext, "/blockbroadcast", true)==0)

{

BlockBC[playerid] = 1;

SendClientMessage(playerid, 0xFF0000AA, "You won't recieve anymore broadcasts, use /showbroadcast to turn it back on");

return 1;

}

if(strcmp(cmdtext, "/showbroadcast", true)==0)

{

BlockBC[playerid] = 0;

SendClientMessage(playerid, 0x00FF00AA, "Broadcasts are turned back on!");

return 1;

}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)

{

return 1;

}

public OnPlayerExitVehicle(playerid, vehicleid)

{

return 1;

}

public OnPlayerStateChange(playerid, newstate, oldstate)

{

return 1;

}

public OnPlayerEnterCheckpoint(playerid)

{

return 1;

}

public OnPlayerLeaveCheckpoint(playerid)

{

return 1;

}

public OnPlayerEnterRaceCheckpoint(playerid)

{

return 1;

}

public OnPlayerLeaveRaceCheckpoint(playerid)

{

return 1;

}

public OnRconCommand(cmd[])

{

return 1;

}

public OnPlayerRequestSpawn(playerid)

{

return 1;

}

public OnObjectMoved(objectid)

{

return 1;

}

public OnPlayerObjectMoved(playerid, objectid)

{

return 1;

}

public OnPlayerPickUpPickup(playerid, pickupid)

{

return 1;

}

public OnVehicleMod(playerid, vehicleid, componentid)

{

return 1;

}

public OnVehiclePaintjob(playerid, vehicleid, paintjobid)

{

return 1;

}

public OnVehicleRespray(playerid, vehicleid, color1, color2)

{

return 1;

}

public OnPlayerSelectedMenuRow(playerid, row)

{

return 1;

}

public OnPlayerExitedMenu(playerid)

{

return 1;

}

public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)

{

return 1;

}

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)

{

return 1;

}

public OnRconLoginAttempt(ip[], password[], success)

{

return 1;

}

public OnPlayerUpdate(playerid)

{

return 1;

}

public OnPlayerStreamIn(playerid, forplayerid)

{

return 1;

}

public OnPlayerStreamOut(playerid, forplayerid)

{

return 1;

}

public OnVehicleStreamIn(vehicleid, forplayerid)

{

return 1;

}

public OnVehicleStreamOut(vehicleid, forplayerid)

{

return 1;

}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])

{

return 1;

}

public OnPlayerClickPlayer(playerid, clickedplayerid, source)

{

return 1;

}

strtok(const string[], &index)

{

new length = strlen(string);

while ((index < length) && (string[index] <= ' '))

{

index++;

}

new offset = index;

new result[20];

while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))

{

result[index - offset] = string[index];

index++;

}

result[index - offset] = EOS;

return result;

}

Geplaatst:

fixed

> Klikkie <

C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(1) : error 017: undefined symbol "MAX_PLAYERS"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(1) : error 009: invalid array size (negative, zero or out of bounds)
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(2) : error 017: undefined symbol "MAX_PLAYERS"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(2) : error 009: invalid array size (negative, zero or out of bounds)
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(6) : error 017: undefined symbol "print"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(7) : error 017: undefined symbol "print"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn( : error 017: undefined symbol "print"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(11) : warning 235: public function lacks forward declaration (symbol "OnGameModeInit")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(14) : error 017: undefined symbol "SetGameModeText"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(15) : error 017: undefined symbol "AddPlayerClass"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(19) : warning 235: public function lacks forward declaration (symbol "OnGameModeExit")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(24) : warning 235: public function lacks forward declaration (symbol "OnPlayerRequestClass")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(26) : error 017: undefined symbol "SetPlayerPos"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(27) : error 017: undefined symbol "SetPlayerCameraPos"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(28) : error 017: undefined symbol "SetPlayerCameraLookAt"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(32) : warning 235: public function lacks forward declaration (symbol "OnPlayerConnect")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(37) : warning 235: public function lacks forward declaration (symbol "OnPlayerDisconnect")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(42) : warning 235: public function lacks forward declaration (symbol "OnPlayerSpawn")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(47) : warning 235: public function lacks forward declaration (symbol "OnPlayerDeath")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(52) : warning 235: public function lacks forward declaration (symbol "OnVehicleSpawn")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(57) : warning 235: public function lacks forward declaration (symbol "OnVehicleDeath")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(62) : warning 235: public function lacks forward declaration (symbol "OnPlayerText")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(67) : warning 235: public function lacks forward declaration (symbol "OnPlayerCommandText")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(70) : error 017: undefined symbol "strcmp"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(72) : error 017: undefined symbol "GetTickCount"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(74) : error 017: undefined symbol "SendClientMessage"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(77) : error 017: undefined symbol "GetTickCount"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(79) : error 017: undefined symbol "format"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(80) : error 017: undefined symbol "MAX_PLAYERS"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(84) : error 017: undefined symbol "SendClientMessage"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(90) : error 017: undefined symbol "strcmp"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(93) : error 017: undefined symbol "SendClientMessage"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(97) : error 017: undefined symbol "strcmp"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(100) : error 017: undefined symbol "SendClientMessage"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(107) : warning 235: public function lacks forward declaration (symbol "OnPlayerEnterVehicle")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(112) : warning 235: public function lacks forward declaration (symbol "OnPlayerExitVehicle")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(117) : warning 235: public function lacks forward declaration (symbol "OnPlayerStateChange")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(122) : warning 235: public function lacks forward declaration (symbol "OnPlayerEnterCheckpoint")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(127) : warning 235: public function lacks forward declaration (symbol "OnPlayerLeaveCheckpoint")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(132) : warning 235: public function lacks forward declaration (symbol "OnPlayerEnterRaceCheckpoint")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(137) : warning 235: public function lacks forward declaration (symbol "OnPlayerLeaveRaceCheckpoint")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(142) : warning 235: public function lacks forward declaration (symbol "OnRconCommand")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(147) : warning 235: public function lacks forward declaration (symbol "OnPlayerRequestSpawn")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(152) : warning 235: public function lacks forward declaration (symbol "OnObjectMoved")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(157) : warning 235: public function lacks forward declaration (symbol "OnPlayerObjectMoved")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(162) : warning 235: public function lacks forward declaration (symbol "OnPlayerPickUpPickup")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(167) : warning 235: public function lacks forward declaration (symbol "OnVehicleMod")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(172) : warning 235: public function lacks forward declaration (symbol "OnVehiclePaintjob")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(177) : warning 235: public function lacks forward declaration (symbol "OnVehicleRespray")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(182) : warning 235: public function lacks forward declaration (symbol "OnPlayerSelectedMenuRow")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(187) : warning 235: public function lacks forward declaration (symbol "OnPlayerExitedMenu")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(192) : warning 235: public function lacks forward declaration (symbol "OnPlayerInteriorChange")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(197) : warning 235: public function lacks forward declaration (symbol "OnPlayerKeyStateChange")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(202) : warning 235: public function lacks forward declaration (symbol "OnRconLoginAttempt")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(207) : warning 235: public function lacks forward declaration (symbol "OnPlayerUpdate")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(212) : warning 235: public function lacks forward declaration (symbol "OnPlayerStreamIn")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(217) : warning 235: public function lacks forward declaration (symbol "OnPlayerStreamOut")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(222) : warning 235: public function lacks forward declaration (symbol "OnVehicleStreamIn")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(227) : warning 235: public function lacks forward declaration (symbol "OnVehicleStreamOut")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(232) : warning 235: public function lacks forward declaration (symbol "OnDialogResponse")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(237) : warning 235: public function lacks forward declaration (symbol "OnPlayerClickPlayer")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(260) : warning 203: symbol is never used: "strtok"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


23 Errors.

:S

Geplaatst:

fixed

> Klikkie <

C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(1) : error 017: undefined symbol "MAX_PLAYERS"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(1) : error 009: invalid array size (negative, zero or out of bounds)
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(2) : error 017: undefined symbol "MAX_PLAYERS"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(2) : error 009: invalid array size (negative, zero or out of bounds)
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(6) : error 017: undefined symbol "print"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(7) : error 017: undefined symbol "print"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn( : error 017: undefined symbol "print"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(11) : warning 235: public function lacks forward declaration (symbol "OnGameModeInit")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(14) : error 017: undefined symbol "SetGameModeText"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(15) : error 017: undefined symbol "AddPlayerClass"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(19) : warning 235: public function lacks forward declaration (symbol "OnGameModeExit")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(24) : warning 235: public function lacks forward declaration (symbol "OnPlayerRequestClass")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(26) : error 017: undefined symbol "SetPlayerPos"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(27) : error 017: undefined symbol "SetPlayerCameraPos"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(28) : error 017: undefined symbol "SetPlayerCameraLookAt"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(32) : warning 235: public function lacks forward declaration (symbol "OnPlayerConnect")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(37) : warning 235: public function lacks forward declaration (symbol "OnPlayerDisconnect")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(42) : warning 235: public function lacks forward declaration (symbol "OnPlayerSpawn")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(47) : warning 235: public function lacks forward declaration (symbol "OnPlayerDeath")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(52) : warning 235: public function lacks forward declaration (symbol "OnVehicleSpawn")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(57) : warning 235: public function lacks forward declaration (symbol "OnVehicleDeath")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(62) : warning 235: public function lacks forward declaration (symbol "OnPlayerText")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(67) : warning 235: public function lacks forward declaration (symbol "OnPlayerCommandText")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(70) : error 017: undefined symbol "strcmp"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(72) : error 017: undefined symbol "GetTickCount"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(74) : error 017: undefined symbol "SendClientMessage"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(77) : error 017: undefined symbol "GetTickCount"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(79) : error 017: undefined symbol "format"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(80) : error 017: undefined symbol "MAX_PLAYERS"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(84) : error 017: undefined symbol "SendClientMessage"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(90) : error 017: undefined symbol "strcmp"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(93) : error 017: undefined symbol "SendClientMessage"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(97) : error 017: undefined symbol "strcmp"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(100) : error 017: undefined symbol "SendClientMessage"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(107) : warning 235: public function lacks forward declaration (symbol "OnPlayerEnterVehicle")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(112) : warning 235: public function lacks forward declaration (symbol "OnPlayerExitVehicle")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(117) : warning 235: public function lacks forward declaration (symbol "OnPlayerStateChange")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(122) : warning 235: public function lacks forward declaration (symbol "OnPlayerEnterCheckpoint")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(127) : warning 235: public function lacks forward declaration (symbol "OnPlayerLeaveCheckpoint")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(132) : warning 235: public function lacks forward declaration (symbol "OnPlayerEnterRaceCheckpoint")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(137) : warning 235: public function lacks forward declaration (symbol "OnPlayerLeaveRaceCheckpoint")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(142) : warning 235: public function lacks forward declaration (symbol "OnRconCommand")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(147) : warning 235: public function lacks forward declaration (symbol "OnPlayerRequestSpawn")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(152) : warning 235: public function lacks forward declaration (symbol "OnObjectMoved")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(157) : warning 235: public function lacks forward declaration (symbol "OnPlayerObjectMoved")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(162) : warning 235: public function lacks forward declaration (symbol "OnPlayerPickUpPickup")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(167) : warning 235: public function lacks forward declaration (symbol "OnVehicleMod")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(172) : warning 235: public function lacks forward declaration (symbol "OnVehiclePaintjob")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(177) : warning 235: public function lacks forward declaration (symbol "OnVehicleRespray")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(182) : warning 235: public function lacks forward declaration (symbol "OnPlayerSelectedMenuRow")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(187) : warning 235: public function lacks forward declaration (symbol "OnPlayerExitedMenu")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(192) : warning 235: public function lacks forward declaration (symbol "OnPlayerInteriorChange")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(197) : warning 235: public function lacks forward declaration (symbol "OnPlayerKeyStateChange")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(202) : warning 235: public function lacks forward declaration (symbol "OnRconLoginAttempt")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(207) : warning 235: public function lacks forward declaration (symbol "OnPlayerUpdate")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(212) : warning 235: public function lacks forward declaration (symbol "OnPlayerStreamIn")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(217) : warning 235: public function lacks forward declaration (symbol "OnPlayerStreamOut")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(222) : warning 235: public function lacks forward declaration (symbol "OnVehicleStreamIn")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(227) : warning 235: public function lacks forward declaration (symbol "OnVehicleStreamOut")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(232) : warning 235: public function lacks forward declaration (symbol "OnDialogResponse")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(237) : warning 235: public function lacks forward declaration (symbol "OnPlayerClickPlayer")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(260) : warning 203: symbol is never used: "strtok"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


23 Errors.

:S

Het is wel niet de bedoeling dat je de pastebincode onderaan je script plakt hé :duh:

Geplaatst: (bewerkt)

fixed

> Klikkie <

Code:

C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(1) : error 017: undefined symbol "MAX_PLAYERS"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(1) : error 009: invalid array size (negative, zero or out of bounds)
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(2) : error 017: undefined symbol "MAX_PLAYERS"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(2) : error 009: invalid array size (negative, zero or out of bounds)
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(6) : error 017: undefined symbol "print"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(7) : error 017: undefined symbol "print"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn( : error 017: undefined symbol "print"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(11) : warning 235: public function lacks forward declaration (symbol "OnGameModeInit")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(14) : error 017: undefined symbol "SetGameModeText"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(15) : error 017: undefined symbol "AddPlayerClass"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(19) : warning 235: public function lacks forward declaration (symbol "OnGameModeExit")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(24) : warning 235: public function lacks forward declaration (symbol "OnPlayerRequestClass")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(26) : error 017: undefined symbol "SetPlayerPos"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(27) : error 017: undefined symbol "SetPlayerCameraPos"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(28) : error 017: undefined symbol "SetPlayerCameraLookAt"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(32) : warning 235: public function lacks forward declaration (symbol "OnPlayerConnect")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(37) : warning 235: public function lacks forward declaration (symbol "OnPlayerDisconnect")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(42) : warning 235: public function lacks forward declaration (symbol "OnPlayerSpawn")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(47) : warning 235: public function lacks forward declaration (symbol "OnPlayerDeath")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(52) : warning 235: public function lacks forward declaration (symbol "OnVehicleSpawn")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(57) : warning 235: public function lacks forward declaration (symbol "OnVehicleDeath")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(62) : warning 235: public function lacks forward declaration (symbol "OnPlayerText")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(67) : warning 235: public function lacks forward declaration (symbol "OnPlayerCommandText")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(70) : error 017: undefined symbol "strcmp"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(72) : error 017: undefined symbol "GetTickCount"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(74) : error 017: undefined symbol "SendClientMessage"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(77) : error 017: undefined symbol "GetTickCount"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(79) : error 017: undefined symbol "format"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(80) : error 017: undefined symbol "MAX_PLAYERS"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(84) : error 017: undefined symbol "SendClientMessage"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(90) : error 017: undefined symbol "strcmp"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(93) : error 017: undefined symbol "SendClientMessage"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(97) : error 017: undefined symbol "strcmp"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(100) : error 017: undefined symbol "SendClientMessage"
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(107) : warning 235: public function lacks forward declaration (symbol "OnPlayerEnterVehicle")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(112) : warning 235: public function lacks forward declaration (symbol "OnPlayerExitVehicle")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(117) : warning 235: public function lacks forward declaration (symbol "OnPlayerStateChange")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(122) : warning 235: public function lacks forward declaration (symbol "OnPlayerEnterCheckpoint")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(127) : warning 235: public function lacks forward declaration (symbol "OnPlayerLeaveCheckpoint")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(132) : warning 235: public function lacks forward declaration (symbol "OnPlayerEnterRaceCheckpoint")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(137) : warning 235: public function lacks forward declaration (symbol "OnPlayerLeaveRaceCheckpoint")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(142) : warning 235: public function lacks forward declaration (symbol "OnRconCommand")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(147) : warning 235: public function lacks forward declaration (symbol "OnPlayerRequestSpawn")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(152) : warning 235: public function lacks forward declaration (symbol "OnObjectMoved")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(157) : warning 235: public function lacks forward declaration (symbol "OnPlayerObjectMoved")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(162) : warning 235: public function lacks forward declaration (symbol "OnPlayerPickUpPickup")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(167) : warning 235: public function lacks forward declaration (symbol "OnVehicleMod")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(172) : warning 235: public function lacks forward declaration (symbol "OnVehiclePaintjob")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(177) : warning 235: public function lacks forward declaration (symbol "OnVehicleRespray")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(182) : warning 235: public function lacks forward declaration (symbol "OnPlayerSelectedMenuRow")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(187) : warning 235: public function lacks forward declaration (symbol "OnPlayerExitedMenu")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(192) : warning 235: public function lacks forward declaration (symbol "OnPlayerInteriorChange")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(197) : warning 235: public function lacks forward declaration (symbol "OnPlayerKeyStateChange")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(202) : warning 235: public function lacks forward declaration (symbol "OnRconLoginAttempt")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(207) : warning 235: public function lacks forward declaration (symbol "OnPlayerUpdate")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(212) : warning 235: public function lacks forward declaration (symbol "OnPlayerStreamIn")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(217) : warning 235: public function lacks forward declaration (symbol "OnPlayerStreamOut")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(222) : warning 235: public function lacks forward declaration (symbol "OnVehicleStreamIn")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(227) : warning 235: public function lacks forward declaration (symbol "OnVehicleStreamOut")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(232) : warning 235: public function lacks forward declaration (symbol "OnDialogResponse")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(237) : warning 235: public function lacks forward declaration (symbol "OnPlayerClickPlayer")
C:\Users\Robin\Downloads\samp03asvr_R3_win32\NEW FILES THAT NEED UPLOADS\broadcast.pwn(260) : warning 203: symbol is never used: "strtok"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


23 Errors.

:S

Het is wel niet de bedoeling dat je de pastebincode onderaan je script plakt hé :duh:

en het is ook niet de bedoeling om mega quotes te posten.. met 1regel tekst eronder

maar.. als dat script van pastebin vervangt met de jouwe

en helemaal boven aan

#include <a_samp>

neet zet, dan is het goed :bier:

Bewerkt: door Crusher!!
Geplaatst:

Ok, het werkt, nu volgend probleem: als ik /broadcast typ dan zegt hij altijd dat je nog 3 seconden moet wachten, al wacht je er 100 :s. wat ik dus bedoel(de) is dat als je het CMD gebruikt dat je het daarna 3 seconden niet meer kunt gebruiken (voorkomt spam) Dus een soort cooldown timer. :cab:

Geplaatst:

Sorry, ik had een foutje gemaakt in mijn script:

Verander de regel

if((lbc[playerid]-GetTickCount()) < 3000)

naar:

if((GetTickCount() - lbc[playerid]) < 3000)

Dan zou het moeten werken. :)

Een reactie plaatsen

Je kan nu een reactie plaatsen en pas achteraf registreren. Als je al lid bent, log eerst in om met je eigen account een reactie te plaatsen.

Gast
Op dit onderwerp reageren...

×   Je hebt text geplaatst met opmaak.   Opmaak verwijderen

  Only 75 emoji are allowed.

×   Je link is automatisch ingevoegd.   In plaats daarvan weergeven als link

×   Je vorige bewerkingen zijn hersteld.   Alles verwijderen

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent actief   0 leden

    • Er zijn hier geen geregistreerde gebruikers aanwezig.
×
×
  • Create New...