08.03.2014, 13:09
i got those error during compiling
the lines
Quote:
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22235) : error 037: invalid string (possibly non-terminated string) C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22237) : error 017: undefined symbol "C14124" C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22239) : error 029: invalid expression, assumed zero C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22239) : error 017: undefined symbol "s" C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22241) : warning 217: loose indentation C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22241) : error 017: undefined symbol "BBBBBB" C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22243) : warning 217: loose indentation C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22243) : error 017: undefined symbol "exited" C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22243) : error 017: undefined symbol "the" C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22243) : error 017: undefined symbol "server" C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22243) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 9 Errors. |
Код HTML:
public OnPlayerDisconnect(playerid, reason) { if(PlayerToKick == playerid) { GetPlayerName(playerid, name, sizeof(name)); format(string, sizeof(string), " { C14124 } %s { BBBBBB } exited the server, so the votekick has been closed automatically.", name); SendClientMessageToAll(COLOR_OK, string); Yes=0,No=0,PlayerToKick=-1, seconds=60, IsVoteKickStarted=false; TextDrawHideForAll(Background); TextDrawHideForAll(VoteKickTitle); TextDrawHideForAll(VoteKickName); TextDrawHideForAll(VoteKickVote); TextDrawSetString(VoteKickVote,"~g~~h~Yes~w~: 0 ~r~No~w~: 0"); TextDrawHideForAll(VoteKickTime); return 1; }