11.02.2018, 11:55
so i got this
so,if he doesnt have skill 2 i want to send him a SCM and show him the dialog again so he can shooe another option.
the problem is is only sends him the message but doesn`t show the dialog.
PHP код:
if(skilltruck <2) return SendClientMessage(playerid, COLOR_WHITE, "Your truck skill is not big enough "); ShowPlayerDialog(playerid, DIALOG_TRUCKER, DIALOG_STYLE_TABLIST_HEADERS, "Choose the transport type", "Type\tLegal/Illegal\tAvailable routes\tReward\nFood\tLegal\t25\t{4AE87D}${FFFFFF}\nElectronics\tLegal\t25\t{4AE87D}${FFFFFF}\nGas/Petrol\tLegal\t15\t{4AE87D}${FFFFFF}\nCar Theft\tIllegal\t2\t{4AE87D}${FFFFFF} + {F37138}special rewards{FFFFFF}", "Choose", "Cancel");
the problem is is only sends him the message but doesn`t show the dialog.