forward TimerBanca5(playerid);
if (rand == 1) { SetTimerEx("TimerBanca5",16000,false,"i",playerid) ; CP[playerid] = 453; } |
if(strcmp(cmd, "/bankrobbery", true) == 0) { PlayerInfo[playerid][pvorota] = CreateObject(2634, 2144.1999511719, 1626.9000244141, 994.29998779297, 0, 0, 180.8212890625); }
public TimerBanca5(playerid) { DestroyObject(PlayerInfo[playerid][pvorota]); PlayerInfo[playerid][pvorota] = 0; PlayerInfo[playerid][pvorota] = CreateObject(2634, 2145.3999023438, 1625.9000244141, 994.29998779297, 0, 0, 270); } |
forward TimerBanca5(playerid);
public TimerBanca5(playerid)
{
CreateObject(2634, 2145.3999023438, 1625.9000244141, 994.29998779297, 0, 0, 270);
DestroyObject(2634);
return 1;
}
//---------------------------------------------------------------------------------//
if(strcmp(cmd, "/bankrobbery", true) == 0)
{
SetTimerEx("TimerBanca5",16000,false,"i",playerid) ;
return 1;
}