Dialog shows every time on death
#3

Quote:
Originally Posted by Chris White
Посмотреть сообщение
use the code in the OnPlayerSpawn in the OnPlayerRequestClass callback
I mean remove this:
pawn Код:
ShowPlayerDialog(playerid, DIALOG_CLASS, DIALOG_STYLE_LIST, "Choose your Class", "Class 1\nClass 2\nClass 3", "Choose", "");
and put it in this callback:
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
//your stuff here
}
That will show the dialog when the player selects a class wouldn't it?

Put it here:
pawn Код:
public OnPlayerRequestSpawn(playerid)
{
    return 1;
}
Reply


Messages In This Thread
Dialog shows every time on death - by MSI - 20.01.2012, 15:03
Re: Dialog shows every time on death - by Chris White - 20.01.2012, 15:11
Re: Dialog shows every time on death - by [XST]O_x - 20.01.2012, 15:20
Re: Dialog shows every time on death - by Konstantinos - 20.01.2012, 15:28
Re: Dialog shows every time on death - by MSI - 20.01.2012, 15:55
Re: Dialog shows every time on death - by MSI - 20.01.2012, 16:05
Re: Dialog shows every time on death - by Konstantinos - 20.01.2012, 16:10
Re: Dialog shows every time on death - by MSI - 20.01.2012, 16:12
Re: Dialog shows every time on death - by MSI - 20.01.2012, 16:44
Re: Dialog shows every time on death - by Konstantinos - 20.01.2012, 16:50

Forum Jump:


Users browsing this thread: 1 Guest(s)