30.09.2016, 10:23
PHP код:
if(checkpointid == WeedHouse1 || checkpointid == WeedHouse2 || checkpointid == WeedHouse3)
{
if(playerData[playerid][playerJob] == JOB_DRUGDEALER)
{
ShowPlayerDialog(playerid, DIALOG_WEED_HOUSE, DIALOG_STYLE_LIST, "Drug House Menu", "Buy 1 drug seed(1000$)\nBuy 4 Drug Seeds(3600$)\nBuy 10 drug seeds(8000$)\nSell weed (rate: 1 weed = 350$)", "Select","");
}
else
{
SendClientMessage(playerid, COLOR_RED, "You must be a drug dealer to buy seeds!" );
}
}
PHP код:
SendClientMessage(playerid, COLOR_RED, "You must be a drug dealer to buy seeds!" );