ForceClassSelection
#1

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.
Reply
#2

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
Reply
#3

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!
Reply
#4

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)