09.07.2012, 11:41
Im scripting a robbing system at this moment. So when i enter the bank and write a cmd, the server creates an explosion near the safe door and that door should disappear, but it does not.
Pls help. thank you
Код:
forward TimerBanca5(playerid);
Quote:
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); }
Quote:
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); } |