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)