06.04.2017, 19:23
When i destroy one object or checkpoint, create object or checkpoint not work after destroy.
For example,
Or
For example,
PHP код:
DestroyDynamicCP(CP[playerid]);
CP[playerid] = CreateDynamicCP(-95.9413, 1726.6653, 26.5963,1.0,-1,-1,playerid,100000.0);
PHP код:
if(IsValidDynamicObject(DoorC4)) DestroyDynamicObject(DoorC4);
DoorC4 = CreateDynamicObject(1654, -82.9940, 1713.8145, 25.1633, 0.00000, 90.00000, 50.00000);