16.03.2010, 15:33
tenta
pawn Код:
public Robbank2(playerid)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if (!PlayerToPoint(30, playerid, 821.39141845, 9.4306592941, 1004.1950683))
{
SendClientMessage(playerid, COLOR_GREY, "A tentativa de roubo nгo foi bem sucedida.");
robbed2 = 0;
return 1;
}
if (PlayerToPoint(30, playerid, 821.39141845, 9.4306592941, 1004.1950683))
{
new string[58];
format(string, 58, "Vocк roubou %d do cofre, agora fuja logo daqui!", robmoney[playerid]);
SendClientMessage(playerid, COLOR_PURPLE, string); //aqui teria a MODIFICAЗГO!
KillTimer(Kils);
GivePlayerGP(playerid, robmoney[playerid]);
robbed2 = 0;
return 1;
}
}
}///////