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. |
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; }
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;
}
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22291) : warning 217: loose indentation
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22318) : warning 217: loose indentation
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22338) : warning 225: unreachable code
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22338) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22338) : error 004: function "OnPlayerEnterVehicle" is not implemented
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22343) : warning 225: unreachable code
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22343) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22343) : error 004: function "OnPlayerExitVehicle" is not implemented
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22348) : warning 225: unreachable code
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22348) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22348) : error 004: function "OnPlayerStateChange" is not implemented
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22353) : warning 225: unreachable code
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22353) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22353) : error 004: function "OnPlayerEnterCheckpoint" is not implemented
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22358) : warning 225: unreachable code
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22358) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22358) : error 004: function "OnPlayerLeaveCheckpoint" is not implemented
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22363) : warning 225: unreachable code
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22363) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22363) : error 004: function "OnPlayerEnterRaceCheckpoint" is not implemented
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22368) : warning 225: unreachable code
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22368) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22368) : error 004: function "OnPlayerLeaveRaceCheckpoint" is not implemented
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22373) : warning 225: unreachable code
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22373) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22373) : error 004: function "OnRconCommand" is not implemented
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22378) : warning 225: unreachable code
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22378) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22378) : error 004: function "OnPlayerRequestSpawn" is not implemented
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22383) : warning 225: unreachable code
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22383) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22383) : error 004: function "OnObjectMoved" is not implemented
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22388) : warning 225: unreachable code
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22388) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22388) : error 004: function "OnPlayerObjectMoved" is not implemented
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22393) : warning 225: unreachable code
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22393) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22393) : error 004: function "OnPlayerPickUpPickup" is not implemented
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22398) : warning 225: unreachable code
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22398) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Ayman\Desktop\New Folder\gamemodes\Rolenroleplay.pwn(22398) : error 004: function "OnVehicleMod" is not implemented
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
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 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);
new 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);
}
}