Login & Register Problem
#1

Hi I have a problem with my login & register system, when I failed my password it appers the class selection and we can spawn how I can block the class selection ?

Here is a screen :



And here is my script :

https://pastebin.com/HruxKH4M

Thanks for your help !
Reply
#2

This is usually caused by ForceClassSelection(playerid); getting called.
I don't see it in your script so check your gamemode and all your filterscripts for this.
Reply
#3

I don't have filterscripts
Reply
#4

Add TogglePlayerControllable(playerid,1); in case of wrong password and untoggle it in case of correct one using TogglePlayerControllable(playerid,0);
+REP if I helped
Reply
#5

Use TogglePlayerSpectating.
Unless the password is correctly entered do not make make it TogglePlayerSpectating(playerid, false);
Reply
#6

Thanks for help it's done
Reply
#7

I don't see but when I use TogglePlayerSpectating I'm kick when I enter the good password after fail.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)