SA-MP Forums Archive
class dialog - 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: class dialog (/showthread.php?tid=362730)



class dialog - thefatshizms - 25.07.2012

Hello, i have this dialog in which when u spawn as a civilian you get a dialog that pops up and you get to chooses class (drug dealer etc) well that works but when u die and re spawn the dialog doesnt show how do i fix this?

p.s to show the dialog again u have to go to class selection again and spawn again


Re: class dialog - TaLhA XIV - 25.07.2012

Just add the dialog under OnPlayerSpawn.


Re: class dialog - thefatshizms - 25.07.2012

Thats what ive done -.-


Re: class dialog - Glint - 25.07.2012

Create a new variable and under OnPlayerDeath Set that variable to 1 then under OnPlayerConnect use if statements to check if that variable is one if it is = 1 then show him the dialog if it is = 0 then don't show him the dialog.


Re: class dialog - thefatshizms - 25.07.2012

it didnt work, maybe i did something wrong? i did all u said