05.10.2014, 14:33
Код:
public OnPlayerEnterCheckpoint(playerid) { new string[256]; new Houseid = PlayerInfo[playerid][pCheckpoint]; switch (HouseInfo[Houseid][h_cpbustype]) { case BUS_TYPE_SEXSHOP: { if (GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) { ShowPlayerDialog(playerid, DIALOG_SEXSHOP, DIALOG_STYLE_LIST, "Menu", "Dildo\nCondom", "Buy", "Cancel"); } }