27.02.2014, 13:07
So basically I created a command on which you could teleport to my lobby. my problem is, i couldn't teleport that person who used that command to his own original position.
I tried GetPlayerPos
This iz on my /lobby which you could teleport to my lobby
Mah /exitlobby
How will I?
I tried GetPlayerPos
This iz on my /lobby which you could teleport to my lobby
pawn Код:
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
SendClientMessage(playerid, -1, ""COL_RED"Returning to lobby..."COL_WHITE"(10 seconds)");
SetTimerEx("Lobby", 10000, false, "i", playerid);
pawn Код:
SetPlayerPos(playerid, x, y, z);
SendClientMessage(playerid, -1, "You are now back to battlefield.");