Quote:
Originally Posted by mahdi499
pawn Код:
if (strcmp(cmdtext, "/route", true) == 0) { if(IsPlayerInVehicle(playerid)) { if(GetVehicleModel(vehicleid) == 537) { ShowPlayerDialog(playerid,9999,DIALOG_STYLE_LIST,"Routes","Los Santos to San Fierro to Los Santos \nLos Santos to Las Venturas1 to Las Venturas2 to Los Santos \nLos Santos to San Fierro to Las Venturas2 \nLos Santos to Los Santos all stops","OK","Cancel"); return 1; } } }
you understood if wrongfully you can't use If without () and a statment of Then after it.
|
Still 1 error:
Код:
error 017: undefined symbol "vehicleid"