OnPlayerClickPlayer
#2

Quote:
Originally Posted by googamalugafoo
Посмотреть сообщение
this is my code but it wont work. You dont teleport when u click the player
pawn Код:
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
    new Float:X, Float:Y, Float:Z;
    GetPlayerPos(clickedplayerid, X, Y, Z);
    SetPlayerPos(playerid, X, Y+3, Z+3);
    return 1;
}
Just try like this:
pawn Код:
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
    new Float:X, Float:Y, Float:Z;
    GetPlayerPos(clickedplayerid, X, Y, Z);
    SetPlayerPos(playerid, X, Y, Z);
    return 1;
}
Reply


Messages In This Thread
OnPlayerClickPlayer - by SnG.Scot_MisCuDI - 26.12.2011, 19:29
Re: OnPlayerClickPlayer - by FireCat - 26.12.2011, 20:24
Re: OnPlayerClickPlayer - by SnG.Scot_MisCuDI - 26.12.2011, 21:32
Re: OnPlayerClickPlayer - by coole210 - 26.12.2011, 21:54
Re: OnPlayerClickPlayer - by Dark_Kostas - 26.12.2011, 21:59
Re: OnPlayerClickPlayer - by SnG.Scot_MisCuDI - 26.12.2011, 22:05
Re: OnPlayerClickPlayer - by SnG.Scot_MisCuDI - 26.12.2011, 22:08
Re: OnPlayerClickPlayer - by BrandyPenguin - 26.12.2011, 22:09
Re: OnPlayerClickPlayer - by SnG.Scot_MisCuDI - 26.12.2011, 22:15
Re: OnPlayerClickPlayer - by coole210 - 26.12.2011, 22:40

Forum Jump:


Users browsing this thread: 1 Guest(s)