SA-MP Forums Archive
ForceClassSelection - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: ForceClassSelection (/showthread.php?tid=218040)



ForceClassSelection - KuHS - 29.01.2011

Hello,

I can't stand anymore and im posting this thread. The fact is ForceClassSelection isn't working correctly. Yes, it works, but not like i would. Example why: in my server, player gets dialog in OnPlayerRequestClass when player logins or registers and i use ForceClassSelection to let player select a skin. After the spawn and when you die you must reselect skin. It's really wierd. Next time when i spawn after die everything works fine. It's really annoying. I would like to see this bug fixed in the future. Thanks.


Re: ForceClassSelection - [03]Garsino - 29.01.2011

It's not a bug, it's how it was made.

Quote:
Originally Posted by SA:MP Wiki
Important Note: To force a player to class selection, you must kill them after using this function. You can also use TogglePlayerSpectating.
https://sampwiki.blast.hk/wiki/ForceClassSelection


Re: ForceClassSelection - beckzy - 29.01.2011

Quote:
Originally Posted by [03]Garsino
View Post
It's not a bug, it's how it was made.


https://sampwiki.blast.hk/wiki/ForceClassSelection
It is a bug. That note was added when the bug was reported to inform people. I really hope it gets fixed because it also stops me from having a dialog for players to login before class selection. All that needs doing to fix it is to reset the variable when a the player spawns (SpawnPlayer, TogglePlayerSpectating 0). Please fix it in 0.3d!


Re: ForceClassSelection - Miguel - 30.01.2011

https://sampforum.blast.hk/showthread.php?tid=200311

I guess it is a bug since no one has gotten it to work...