SetPlayerPos doesn't work anymore
#6

Try this ingame, I'm sure it doesn't work because you're either not an admin or a helper.

pawn Код:
CMD:gotopd(playerid, params[])
{
    if(PlayerInfo[playerid][Admin] > 0 || PlayerInfo[playerid][Helper] > 0)
    {
        SetPlayerPos(playerid, 1520.1942,-1666.2303,13.5469);
        SetPlayerInterior(playerid,0);
        SetPlayerVirtualWorld(playerid,0);
    }
    else
    {
        SendClientMessage(playerid, -1, "You are not a admin or a helper.");
    }
    return 1;
}

CMD:gotoganton(playerid, params[])
{
    if(PlayerInfo[playerid][Admin] > 0 || PlayerInfo[playerid][Helper] > 0)
    {
        SetPlayerPos(playerid, 2227.8057,-1725.0481,13.5477);
        SetPlayerInterior(playerid,0);
        SetPlayerVirtualWorld(playerid,0);
    }
    else
    {
        SendClientMessage(playerid, -1, "You are not a admin or a helper.");
    }
    return 1;
}
Reply


Messages In This Thread
SetPlayerPos doesn't work anymore - by Andriensis - 25.06.2013, 09:13
Re: SetPlayerPos doesn't work anymore - by |-Ruben-| - 25.06.2013, 09:14
Re: SetPlayerPos doesn't work anymore - by Andriensis - 25.06.2013, 09:18
Re: SetPlayerPos doesn't work anymore - by Inverse - 25.06.2013, 09:19
Re: SetPlayerPos doesn't work anymore - by Andriensis - 25.06.2013, 09:22
Re: SetPlayerPos doesn't work anymore - by Sasoft - 25.06.2013, 09:23
Re: SetPlayerPos doesn't work anymore - by Mike_Peterson - 25.06.2013, 09:23
Re: SetPlayerPos doesn't work anymore - by Andriensis - 25.06.2013, 09:25
Re: SetPlayerPos doesn't work anymore - by Sasoft - 25.06.2013, 09:30
Re: SetPlayerPos doesn't work anymore - by Andriensis - 25.06.2013, 09:37

Forum Jump:


Users browsing this thread: 1 Guest(s)