03.10.2011, 05:44
Hey,
I have a houseupgrade command, but when I do it in game it does not work.
That is my code, could someone please tell me why it does not work.
I have a houseupgrade command, but when I do it in game it does not work.
Код:
} if(strcmp(cmd, "/houseupgrade", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pHouseAccepted] == 0) { SendClientMessage(playerid, COLOR_GREY, " You don't own a house!"); return 1; } else { ShowPlayerDialog(playerid,UPGRADEMENU1,DIALOG_STYLE_LIST,string,"House Interior Upgrade\nHouse Car Upgrade\nHouse Nametag Upgrade\nHouse Miscellaneous Upgrade","Proceed","Cancel"); return 1; } } return 1; }