How to make all player spawn @ one place not where they left
#2

Since you didn't gave enough information, I'll assume you're using a gamemode and want to make all players spawn on one point, and not where the last time they /quit. Go to OnPlayerLogin, and remove the line where it gives out the spawn info from the userfile. It would be something like:
pawn Код:
SetPlayerPos(playerid, PlayerInfo[playerid][Posx], PlayerInfo[playerid][Posy], PlayerInfo[playerid][Posz]);//remove it
After removing it you need to delete the not used saving of the player coordinates too. You can do it by going to the callback used for saving accounts and removing the GetPlayerPos function and the saving of it in the userfiles.
Reply


Messages In This Thread
How to make all player spawn @ one place not where they left - by SwatOwner - 14.07.2011, 14:11
Re: How to make all player spawn @ one place not where they left - by Adil - 14.07.2011, 14:23
Re: How to make all player spawn @ one place not where they left - by Toreno - 14.07.2011, 14:40
Re: How to make all player spawn @ one place not where they left - by SwatOwner - 15.07.2011, 09:26
Re: How to make all player spawn @ one place not where they left - by Kush - 15.07.2011, 19:44

Forum Jump:


Users browsing this thread: 1 Guest(s)