class dialog
#1

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

Just add the dialog under OnPlayerSpawn.
Reply
#3

Thats what ive done -.-
Reply
#4

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

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


Forum Jump:


Users browsing this thread: 3 Guest(s)