05.10.2014, 14:40
Now I made change a little bit then no more errors on above lines but these:
(27712) : error 029: invalid expression, assumed zero
(27712) : warning 215: expression has no effect
(27712) : error 001: expected token: ";", but found ")"
(27712) : error 029: invalid expression, assumed zero
(27712) : error 029: invalid expression, assumed zero
(27712) : warning 215: expression has no effect
(27712) : error 001: expected token: ";", but found ")"
(27712) : error 029: invalid expression, assumed zero
Код:
public OnPlayerEnterCheckpoint(playerid) { new string[256]; //if(PlayerInfo[playerid][pMission] <= MISSION_TYPE_CASINO_HOLDUP) //{ new Houseid = PlayerInfo[playerid][pCheckpoint]; switch (HouseInfo[Houseid][h_cpbustype]) { case BUS_TYPE_SEXSHOP: { if (GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) { (27712) ShowPlayerDialog(playerid, DIALOG_SEXSHOP, DIALOG_STYLE_LIST, "Menu", "Dildo\nCondom", "Buy", "Cancel"); } } } return 1; }