01.04.2010, 06:58
I want delay 2hr.
Please Example this command.
Please Example this command.
Код:
if(strcmp(cmd, "/robbank", true) == 0)
{
new money;
money = random(30000);
if(PlayerInfo[playerid][pWantedDeaths] >= 5)
{
SendClientMessage(playerid, COLOR_GRAD1, "¶йТ»Ей№µФґ5ґТǹФѺ¤ФґґХГЦВС§!");
}
if(PlayerToPoint(2.0,playerid,2315.34,-0.73,26.74))
{
SafeGivePlayerMoney(playerid, money); //Not SafeGivePlayerMoney
SetPlayerWantedLevel(playerid, 5); //You can change 5
}
else
{
SendClientMessage(playerid,COLOR_GRAD1,"You are not at the bank!");
}
return 1;
}

