11.04.2012, 18:36
Put into OnPlayerDialogResponse ...
pawn Код:
if(dialogid == DIALOG_REGISTER)
{
if(response)
{
ShowPlayerDialog(playerid,24,DIALOG_STYLE_MSGBOX,"{3399FF}*****SFGW Cops&Robbers Rules*****","Warning: Please remember that there rules ARE FOR COPS AND CIVILIANS,both need to respect.\nDon't do random hit,this is not a dm server.\nRespect players and admins.\nUse /report if you saw a cheater and don't shout it in main chat.\nIf you are a civilian,don't random kill cops,you can get arrested or killed.\nClick Accept to accept this rules or Decline to refuse it.","Accept","Decline");
//Register code
}
}
if(dialogid == DIALOG_LOGIN)
{
if(response)
{
ShowPlayerDialog(playerid,24,DIALOG_STYLE_MSGBOX,"{3399FF}*****SFGW Cops&Robbers Rules*****","Warning: Please remember that there rules ARE FOR COPS AND CIVILIANS,both need to respect.\nDon't do random hit,this is not a dm server.\nRespect players and admins.\nUse /report if you saw a cheater and don't shout it in main chat.\nIf you are a civilian,don't random kill cops,you can get arrested or killed.\nClick Accept to accept this rules or Decline to refuse it.","Accept","Decline");
//Login code
}
}