Saving Trouble
#3

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
Reply


Messages In This Thread
Saving Trouble - by xXRealLegitXx - 15.02.2013, 23:36
Re: Saving Trouble - by Glad2BeHere - 15.02.2013, 23:45
Re: Saving Trouble - by xXRealLegitXx - 16.02.2013, 00:12
Re: Saving Trouble - by Glad2BeHere - 16.02.2013, 00:13
Re: Saving Trouble - by xXRealLegitXx - 16.02.2013, 00:16
Re : Saving Trouble - by bigtigerbeee - 16.02.2013, 03:48

Forum Jump:


Users browsing this thread: 1 Guest(s)