23.05.2012, 16:45
pawn Код:
public RouboBanco(playerid)
{
KillTimer(tempobanco);
if(!IsPlayerInRangeOfPoint(playerid, 8.0 ,2141.221923,1642.316802,992.978110))
{
format(gstring, sizeof(gstring), "%s e os %s nгo conseguiram roubar o cofre do Banco! ID:[%d]", PlayerName(playerid), NomeORG(playerid), playerid);
SendClientMessageToAll(GetPlayerColor(playerid), gstring);
SendClientMessage(playerid, COLOR_GREY, "Vocк nгo estб no cofre do banco.");
ClearAnimations(playerid);
RemovePlayerAttachedObject(playerid,3);
ProvocoBanco[playerid] = 0;
roubando[playerid] = 0;
roubobanco = 0;
KillTimer(tempobanco);
temporoubobanco= 0;
return 1;
}
ForPlayers(i)
{
// Continuaзгo do Cуdigo
}