Posts: 372
Threads: 8
Joined: Jan 2011
Reputation:
0
You can use OnPlayerSpawn() callback together with some player variables and create that effect.
Posts: 19
Threads: 2
Joined: Feb 2011
Reputation:
0
now i mean its a dialog for selecting teams and teams are on different spawns so thatswhy i want just when click spawn it should show the dialog before spawning
Posts: 372
Threads: 8
Joined: Jan 2011
Reputation:
0
I didn't understand you really clearly but I don't think that's possible 'cause when you click 'spawn' it will spawn you right away.
I could be wrong.
Posts: 2,726
Threads: 85
Joined: Jul 2010
Reputation:
0
Returning 0 in OnPlayerRequestSpawn will prevent the player from spawning! So, return 0, show a dialog, then use SpawnPlayer( playerid ); ( not sure if it'll actually spawn ), if not, use OnPlayerSpawn!
Posts: 1,418
Threads: 63
Joined: Dec 2010
Reputation:
0
Yes, that's the right thing to do.
Posts: 19
Threads: 2
Joined: Feb 2011
Reputation:
0
can u explain better? ;p will be appreciated