Problem with create after destroy dynamic
#1

When i destroy one object or checkpoint, create object or checkpoint not work after destroy.

For example,
PHP код:
DestroyDynamicCP(CP[playerid]);
CP[playerid] = CreateDynamicCP(-95.94131726.665326.5963,1.0,-1,-1,playerid,100000.0); 
Or

PHP код:
if(IsValidDynamicObject(DoorC4)) DestroyDynamicObject(DoorC4);
DoorC4 CreateDynamicObject(1654, -82.99401713.814525.1633,   0.0000090.0000050.00000); 
Reply
#2

UP ..
Reply
#3

Streamer_Update().
Reply
#4

This is correct?

PHP код:
DestroyDynamicCP(CP[playerid]); 
CP[playerid] = CreateDynamicCP(-95.94131726.665326.5963,1.0,-1,-1,playerid,100000.0);
Streamer_Update(playerid,2); 
And

PHP код:
if(IsValidDynamicObject(DoorC4)) DestroyDynamicObject(DoorC4); 
DoorC4 CreateDynamicObject(1654, -82.99401713.814525.1633,   0.0000090.0000050.00000); 
for(new 
i=0i<MAX_PLAYERSi++) Streamer_Update(i,0); 
Reply
#5

It should be correct, at least it looks correct syntax wise. What's it doing now?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)