SetPlayerPos doesn't work anymore
#8

Quote:
Originally Posted by Mike_Peterson
Посмотреть сообщение
Ok, first thing to do is debug. add print messages before and after you used the setplayerpos command and check your server console afterwards, tell me whether or not both print messages (ones before and after SetPlayerPos) show up. If so, test again after turning off Incognito's streamer to see whether it has anything to do with it. Also try updating all the includes (again if needed) from the Sa-mp website.
Okay, I'm trying.


Quote:
Originally Posted by Sasoft
Посмотреть сообщение
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;
}
No, I'm sure I'm admin (because I tester other admin cmds)
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)