SA-MP Forums Archive
SetTimerEx - 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: SetTimerEx (/showthread.php?tid=143406)



SetTimerEx - biltong - 22.04.2010

Can I use it with GameTextForPlayer? I tried and it's not working.


Re: SetTimerEx - dice7 - 22.04.2010

And what exactly did you try ?


Re: SetTimerEx - biltong - 22.04.2010

Making a tutorial, so:

pawn Код:
SetTimerEx("GameTextForPlayer", 10000, false, "isii", playerid, "blablabla", 10000, 5);
and so on.
But nothing comes up

Too lazy to make a textdraw.


Re: SetTimerEx - Grim_ - 22.04.2010

SetTimerEx is for calling a function. You'd have to make the GameText appear inside the function which you call.


Re: SetTimerEx - dice7 - 22.04.2010

GameTextForPlayer() is a function. And the reason you can't call it directly, is because it doesn't have the public prefix, meaning that the server can't call it at run time


Re: SetTimerEx - Sergei - 22.04.2010

You can only call public functions (GameTextForPlayer is native).

pawn Код:
forward GameTextForPlayerEx(playerid, const string[], time, style);
public GameTextForPlayerEx(playerid, const string[], time, style)
{
  return GameTextForPlayer(playerid, string, time, style);
}



Re: SetTimerEx - biltong - 23.04.2010

Thanks guys, though it works for DestroyVehicle(vehicleid),