Bomb does not work in timer
#1

I think this is nearly the same problem as before....

This is the (whole) Code:
http://pastebin.com/d22836167

Can you tell me,why NEVER EVER theres an explosion ?
Reply
#2

PosX,PosY,PosZ have to be Floats!

SetTimerEx("explosion",10000,0,"iiiii",playerid,po sX,posY,posZ,0,0);
Found in "/Plant" command has to be
SetTimerEx("explosion",10000,0,"ifffi",playerid,po sX,posY,posZ,0,0);

the foward for the callback has to be

forward explosion(playerid,FloatosX,FloatosY,FloatposZ ,X,Y);
public explosion(playerid,FloatosX,FloatosY,Floatos Z,X,Y)
Reply
#3

The /plant i got too, but the forward is new....
I`ll test it,wait a min...

/edit:
OH MY GOD !
It works....

And i think,you fixed up to 10 Problems of other Scripts to !!!

I will give you credits for all Scripts, which were bugged,until you helped me this
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)