Originally Posted by tomozj
OK Alejandro, this was created when I was even more of a nub scripter.
I\'m going to update today, fixing the bugs. And the smiley is normal, unavoidable in an easy way. |
C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(1) : error 010: invalid function or declaration C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(6) : warning 235: public function lacks forward declaration (symbol "OnFilterScriptInit") C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(8) : error 017: undefined symbol "print" C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(9) : error 017: undefined symbol "print" C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(10) : error 017: undefined symbol "print" C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(12) : error 017: undefined symbol "SetTimer" C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(17) : warning 235: public function lacks forward declaration (symbol "OnFilterScriptExit") C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(31) : warning 235: public function lacks forward declaration (symbol "OnPlayerText") C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(33) : error 017: undefined symbol "strcmp" C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(40) : error 017: undefined symbol "SendClientMessage" C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(44) : error 017: undefined symbol "SendClientMessage" C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(53) : warning 235: public function lacks forward declaration (symbol "OnPlayerCommandText") C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(55) : error 017: undefined symbol "IsPlayerAdmin" C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(57) : error 017: undefined symbol "strcmp" C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(63) : error 017: undefined symbol "strcmp" C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(66) : warning 217: loose indentation C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(66) : error 017: undefined symbol "format" C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(66) : warning 202: number of arguments does not match definition C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(66) : warning 202: number of arguments does not match definition C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(66) : warning 202: number of arguments does not match definition C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(67) : warning 217: loose indentation C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(67) : error 017: undefined symbol "SendClientMessageToAll" C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(76) : error 017: undefined symbol "KillTimer" C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(81) : error 017: undefined symbol "random" C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(81) : warning 202: number of arguments does not match definition C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(84) : error 017: undefined symbol "format" C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(84) : warning 202: number of arguments does not match definition C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(84) : warning 202: number of arguments does not match definition C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(84) : warning 202: number of arguments does not match definition C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(85) : error 017: undefined symbol "print" C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(86) : error 017: undefined symbol "SendClientMessageToAll" C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(91) : error 017: undefined symbol "GivePlayerMoney" C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(92) : error 017: undefined symbol "SetTimer" C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(96) : error 017: undefined symbol "GetPlayerName" C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(96) : warning 202: number of arguments does not match definition C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(97) : error 017: undefined symbol "format" C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(97) : warning 202: number of arguments does not match definition C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(97) : warning 202: number of arguments does not match definition C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(97) : warning 202: number of arguments does not match definition C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(98) : error 017: undefined symbol "SendClientMessageToAll" C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(99) : error 017: undefined symbol "SetTimer" C:\Program Files\Rockstar Games\GTA San Andreas\samp022server.win32\filterscripts\ReactionTest.pwn(99) : warning 204: symbol is assigned a value that is never used: "reactiongap" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 24 Errors.
Originally Posted by gothem
cant download
|
public OnPlayerText(playerid, text[]) { if(!strcmp(text, reactionstr, false)) { if(reactioninprog == 2) ReactionWin(playerid); if(reactioninprog == 1) { if(reactionwinnerid == playerid) { SendClientMessage(playerid,0x247C1BFF,"You\'ve already won!"); } else { SendClientMessage(playerid,0x247C1BFF,"You are too slow!"); } { { if (Calling[playerid] > -1 && Answered[playerid] == 1) { new string[256]; new sendername[MAX_PLAYER_NAME]; GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "%s: %s", sendername, text); SendClientMessage(Calling[playerid], COLOR_YELLOW, string); format(string, sizeof(string), "%s: %s", sendername, text); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "%s: %s", sendername, text); print(string); format(string, sizeof(string), "%s: %s", sendername, text); print(string); return 0; } return 1; }
Originally Posted by fiordas
Where i made mistake ?
|
Originally Posted by tomozj
Quote:
|