Show dialog only one time.
#1

I want to create a dialog which shows only the first time a player joins the server. In this dialog the player chooses a class and such. The only problem I have is that I want the dialog to show up only the first time a player joins.
Thank you!
Reply
#2

enum players

pFirstPlay

OnplayerConnect : Load pFirstPlay

OnplayerSpawn : Check pFirstPlay
if pFirstplay == 0

Show Dialog to player
set pFirstplay = 1

OnplayerDisconnect : Save pFirstplay
Reply
#3

Thank you! How do I exactly place this on the gm?
Reply
#4

He's just telling you what to do.

We can't do anything without some code? We don't know what saving system you use etc, show some code!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)