SA-MP Forums Archive
How to forward both 'target' and 'playerid' - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How to forward both 'target' and 'playerid' (/showthread.php?tid=162701)



How to forward both 'target' and 'playerid' - Jochemd - 24.07.2010

This is my code

pawn Код:
SetTimerEx("OnMechanicGotoTarget",100,true,"",playerid);
I am working with 'target' and 'playerid'. How can I forward them both?

Regards, Jochem


Re: How to forward both 'target' and 'playerid' - ettans - 24.07.2010

pawn Код:
SetTimerEx("OnMechanicGotoTarget",100,true,"ii",playerid,target);