21.02.2011, 08:28
(
Последний раз редактировалось Duck; 21.02.2011 в 15:01.
Причина: aa
)
Код:
RemoveFromGame(playerid, reason[]) { new r[100]; format(r, sizeof®, "[BOT] %s was removed. (Reason: %s)", PlayerName(playerid), reason); SendClientMessageToAll(COLOR_NOTICE, r); if(!strcmp(reason, "Ragequited", true)) { DestroyVehicle(GetPVarInt(playerid, "Vehicle")); SetPVarInt(playerid, "Vehicle", -1); SetPlayerScore(playerid, 0); return; } TogglePlayerSpectating(playerid, true); for(new i = 0; i < MAX_PLAYERS; i++) { if(GetPVarInt(playerid, "Spawned") == 1 && i != playerid && IsPlayerConnected(i)) { PlayerSpectateVehicle(playerid, GetPlayerVehicleID(i)); break; } if(i == MAX_PLAYERS) { PlayerSpectatePlayer(playerid, playerid); } } SetPVarInt(playerid, "Spawned", 0); DestroyVehicle(GetPVarInt(playerid, "Vehicle")); SetPVarInt(playerid, "Vehicle", -1); SetPlayerColor(playerid, COLOR_GREY); SetPlayerScore(playerid, 0); GameTextForPlayer(playerid, "~r~Eliminated~w~~n~~n~You will respawn in a million seconds.", 5000, 5); SetTimerEx("SpawnPlayerEx", 15000, false, "ii", 0, playerid);
It doens't give me the text.