Teleport on timer

Well, i'm working on a script alright, i wanted like after the player registers on the server, he would spawn in a bus, and after a couple of seconds he would get teleported to a specific location, I just need the part with the timer and then after the timer he would get teleported, can someone help me with that small coding?

Just set a timer after spawning and registering:
pawn Код:
SetTimerEx(''Position'', 5000, false, ''i'', playerid);
And timer publics:

pawn Код:
forward Position(playerid);

public Position(playerid)
     SetPlayerPos(playerid, Pos X, Pos Y, Pos Z);
     return 1;
I'm on another PC and I don't have: '' . So replace them with correct symbol in Timer.

Forum Jump:

Users browsing this thread: 1 Guest(s)