Quote:
Originally Posted by Glad2BeHere
pawn Код:
SetPlayerPos(playerid, x, y, z); SetPlayerColor(playerid, 0xFFFFFFFF ); // :? y add that line below :? u set the player position At the last written line cuz the script goes in order -_- so u set the player pos \/ \/ so remove it SetPlayerPos(playerid, -1980.5990,138.0181,27.6875);
/////////////////////////////////// new file[128], pname[MAX_PLAYER_NAME]; new Float:x, Float:y, Float:z; GetPlayerName(playerid, pname, sizeof(pname)); format(file, sizeof(file), "\\SavePos\\%s.ini", pname); x = dini_Float(file, "posX"); y = dini_Float(file, "posY"); z = dini_Float(file, "posZ"); SetPlayerPos(playerid, x, y, z); SetPlayerColor(playerid, 0xFFFFFFFF );
|
Didn't work. Made a new account, spawned in blueberry