SetTimerEx
#1

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

And what exactly did you try ?
Reply
#3

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.
Reply
#4

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

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
Reply
#6

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);
}
Reply
#7

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


Forum Jump:


Users browsing this thread: 1 Guest(s)