31.05.2013, 11:42
pawn Код:
CMD:robbank(playerid,params[])
{
for (new i=0;i<MAX_PLAYERS;i++)
{
if (PlayerOrg[i] == PlayerOrg[playerid]/* && i != playerid*/) // Remove the identification when you'll not try alone anymore.
{
SendClientMessageToAll(COLOR_RED,"BREAKING NEWS: The San Andreas Bank has been robbed by a Mafia, ALARM ON!");
SendClientMessage(i,COLOR_RED,"Your family has started robbing the bank, Every 5 min(+5000)");
SetPlayerAttachedObject(i, 0, 1550, 1, -0.029999, -0.159999, -0.019999, -180.000000, 85.000000, -10.000000);
Robman[i][rob] = 1;}
}
return 1;
}
bug:- It shows like 100 messages in the chat with BREAKING NEWS:The SanAndreas Bank has been robbed by a Mafia, ALARM ON!