Select class via dialog
#1

hey! i want it so player can choose team via dialog instead of the classic selection.
But if i enter wrong password 2 times it redirects me to class selection, is it possible to keep it at the "normal" place until i login and then redirect to the class selection view?

http://pastebin.com/kM9yzpzL
Reply
#2

try putting
PHP код:
ShowPlayerDialog(playerid, DIALOG_CLASS, DIALOG_STYLE_LIST, "Choose a class:", "Terrorist\nMilitart", "Spawn", ""); 
in LoadUser_data
Reply
#3

Make a bool 'bool:logged[MAX_PLAYERS]'

when players logs in correctly, 'logged[playerid]=true'

in OnPlayerRequestClass

if(!logged[playerid]) return 1;
Reply
#4

Wont work sorry guys :S
Have seen other servers with it, shouldnt be so hard
Reply


Forum Jump:


Users browsing this thread: