Script Problem(SetPlayerPos & GetPlayerPOs)
#1

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
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);
Mah /exitlobby
pawn Код:
SetPlayerPos(playerid, x, y, z);
SendClientMessage(playerid, -1, "You are now back to battlefield.");
How will I?
Reply


Messages In This Thread
Script Problem(SetPlayerPos & GetPlayerPOs) - by Extraordinariness - 27.02.2014, 13:07
Re: Script Problem(SetPlayerPos & GetPlayerPOs) - by mahardika - 27.02.2014, 13:13
Re: Script Problem(SetPlayerPos & GetPlayerPOs) - by Extraordinariness - 27.02.2014, 13:30
Re: Script Problem(SetPlayerPos & GetPlayerPOs) - by mahardika - 28.02.2014, 01:50
Re: Script Problem(SetPlayerPos & GetPlayerPOs) - by mahardika - 28.02.2014, 01:52

Forum Jump:


Users browsing this thread: 1 Guest(s)