01.04.2010, 15:47
Код:
OnPlayerCommandReceived(playerid, cmdtext[]) COMMAND:jointeam( playerid, params[]) { ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Choose your Team", "Team 1 - Police Department \nTeam 2 - Fire Department \nTeam 3 - Medical Department \nTeam 4 - N/A \nTeam 5 - N/A \nTeam 6 - N/A \nTeam 7 - N/A \nTeam 8 - N/A \nTeam 9 - N/A \nTeam 10 - N/A","Change","Cancel"); return 1; }
Код:
public OnPlayerCommandText(playerid,cmdtext[]) COMMAND:jointeam( playerid, params[]) { ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Choose your Team", "Team 1 - Police Department \nTeam 2 - Fire Department \nTeam 3 - Medical Department \nTeam 4 - N/A \nTeam 5 - N/A \nTeam 6 - N/A \nTeam 7 - N/A \nTeam 8 - N/A \nTeam 9 - N/A \nTeam 10 - N/A","Change","Cancel"); return 1; }
Код:
fgawg.pwn(109) : error 029: invalid expression, assumed zero
Some help would be great.