Save and load player's position in/to RAM
#7

You have declared these variables in a per-player format
pawn Код:
new Float:TutX[MAX_PLAYERS],Float:TutY[MAX_PLAYERS],Float:TutZ[MAX_PLAYERS],Float:TutA[MAX_PLAYERS];
Correct way to set them:

pawn Код:
SetPlayerPos(playerid,TutX[playerid],TutY[playerid],TutZ[playerid]); //2783
SetPlayerFacingAngle(playerid,TutA[playerid]); //2784
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)