04.08.2013, 10:37
public OnPlayerSpawn(playerid)
{
if(.....)
{
ShowPlayerDialog(playerid, DIALOG_CLASSELECT, DIALOG_STYLE_LIST, "Class Selection", "{00C0FF}Soldier\n{00C0FF}Sniper\n{00C0FF}Engineer \n{00C0FF}JetTrooper\n{00C0FF}Pilot\n{00C0FF}Spy\n {00C0FF}Ranger\n{00C0FF}Elite Ranger", "Select", "Close");
}
return 1;
}
what do i use for if(...)
{
if(.....)
{
ShowPlayerDialog(playerid, DIALOG_CLASSELECT, DIALOG_STYLE_LIST, "Class Selection", "{00C0FF}Soldier\n{00C0FF}Sniper\n{00C0FF}Engineer \n{00C0FF}JetTrooper\n{00C0FF}Pilot\n{00C0FF}Spy\n {00C0FF}Ranger\n{00C0FF}Elite Ranger", "Select", "Close");
}
return 1;
}
what do i use for if(...)