16.04.2015, 17:52
PHP код:
public OnPlayerRequestSpawn(playerid)
{
if(gPlayerLogged[playerid] == 0)
{
//show the login dialog here
return 0;
}
if(gPlayerLogged[playerid]==1)
{
ShowPlayerDialog(playerid,DIALOG_REQUEST_SPAWN_STYLE,DIALOG_STYLE_MSGBOX,""COL_GREEN"How do you want to spawn?",""COL_GREEN"Select","Random","Saved");
return 0;
}
return 1;
}