19.03.2012, 21:36
pawn Код:
...
if(IsPlayerConnected(i))//checking if player is connected else nothing
{
ShowPlayerDialog(i, 1, DIALOG_STYLE_LIST, "what floor do you want?", "Ground floor \nFirst Floor \nSecond Floor \nThirdFloor \nFourth Floor \nFifth Floor \nSixthFloor \nSeventh Floor \nEighth Floor \nNineth Floor \nTenthfloor \nEleventh Floor \nTwelefth Floor \nThirteenth Floor \nFourteenth Floor \nFifteenth Floor \nSixteenth Floor \nSeventeenth Floor \nEighteenth Floor \nNineteenth Floor \nRoof", "Select", "Cancel");
return 1;//<---
}
...