SA-MP Forums Archive
Stay within the world boundaries - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Stay within the world boundaries (/showthread.php?tid=295224)



Stay within the world boundaries - LeNy - 05.11.2011

Hello. I have a big problem. I create the login with TogglePlayerSpectatingand and when i spawn player and shows me the following message on the screen:



My code corresponding to a change TogglePlayerSpectatingand and SpawnPlayer looks like this:
pawn Код:
TogglePlayerSpectating(playerid, false);
SpawnPlayer(playerid);



Re: Stay within the world boundaries - sleepysnowflake - 05.11.2011

TogglePlayerSpectating(playerid, false);

Why would you do that ?


Re: Stay within the world boundaries - LeNy - 05.11.2011

because I want to login to the dialogue did not show a selection of Skin

In OnPlayerConnect i have:
pawn Код:
TogglePlayerSpectating(playerid, true);



Re: Stay within the world boundaries - Wesley221 - 05.11.2011

This happens when you dont have 'AddPlayerClass' in your GameMode. Add some of them (1 is enough), and check again


Re: Stay within the world boundaries - LeNy - 05.11.2011

Quote:
Originally Posted by Wesley221
Посмотреть сообщение
This happens when you dont have 'AddPlayerClass' in your GameMode. Add some of them (1 is enough), and check again
Oh, yes I'm stupid. Thx Wesley221