Account saving warning
#5

Dont think ive done it right

Код:
//==============================================================================
// ON PLAYERSPAWN
//==============================================================================
public OnPlayerSpawn(playerid)
{
	if(PVar[playerid][pLastX] == 0.0 && PVar[playerid][pLastY] == 0.0)
	{
		new
		    RPos = random(sizeof(RandSpawns));
		    
		SetPlayerPos(playerid, RandSpawns[RPos][0], RandSpawns[RPos][1], RandSpawns[RPos][2]);
	}
	else SetPlayerPos(playerid, PVar[playerid][pLastX], PVar[playerid][pLastY], PVar[playerid][pLastZ]);
	return 1;
}
The money is saving now as i can see it in the user files but it doesnt give you the money when you log in again.
Reply


Messages In This Thread
Account saving warning - by manchestera - 15.10.2011, 07:08
Re: Account saving warning - by SmiT - 15.10.2011, 07:12
Re: Account saving warning - by manchestera - 15.10.2011, 07:18
Re: Account saving warning - by SmiT - 15.10.2011, 07:19
Re: Account saving warning - by manchestera - 15.10.2011, 07:26
Re: Account saving warning - by SmiT - 15.10.2011, 07:29
Re: Account saving warning - by manchestera - 15.10.2011, 07:43

Forum Jump:


Users browsing this thread: 1 Guest(s)