04.01.2015, 00:24
he is watting 30sec for road the money ? 
i made the robbery faild

PHP код:
if(GetPlayerInterior(playerid) == 10)
{
if(IsPlayerInRangeOfPoint(playerid, 3.0, XPOS, YPOS, ZPOS)
{
SetTimer(playerid,"RobberyInProgress",1000,false);
GameTextForPlayer(playerid,"Stay in this place", 1000, -1);
}
else
{
if(GetPlayerInterior(playerid) == 0)
GameTextForPlayer(playerid,"Robbery Failed Dude :)", 1000, -1);
}
}
forward RobberyInProgress(playerid);
public RobberyInProgress(playerid)
{
This gets called when the player has started the robbery
Continue with your code
}

