SetTimerEx with multiple float/integer parameters
#1

The following Timer does not appear to be functioning, am I doing something wrong with how I am setting it up?

I have no errors.

pawn Код:
SetTimerEx("GateCloseSound", 7000, 0, "iiffff", playerid, pdgate1, 1588.9335, -1638.0698, 15.0512, 0.97);
pawn Код:
public GateCloseSound(playerid,objectid,xpos,ypos,zpos,speed)
{
    MoveDynamicObject(objectid,xpos,ypos,zpos,speed);
    PlayerPlaySound(playerid, 1153, xpos,ypos,zpos);
    return 1;
}
Reply
#2

What you want to do ?
Pastebin the all command, I'll help you.
Reply
#3

I believe the correct parameter list would be:

pawn Код:
public GateCloseSound(playerid, objectid, Float:xpos, Float:ypos, Float:zpos, Float:speed);
Reply
#4

Quote:
Originally Posted by mamorunl
Посмотреть сообщение
I believe the correct parameter list would be:

pawn Код:
public GateCloseSound(playerid, objectid, Float:xpos, Float:ypos, Float:zpos, Float:speed);
That was it!

I'm not sure how I missed that, thanks!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)