11.07.2013, 15:50
Looks like this now:
But 4 errors:
Without ''if'' infront of IsPlayerInVehicle was 12 errors!!
Код:
if (strcmp(cmdtext, "/route", true) == 0)
{
if IsPlayerInVehicle(playerid, vehicleid);
if(GetVehicleModel(vehicleid) == 537 && IsPlayerInAnyVehicle(playerid))
{
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;
}
Код:
undefined symbol "vehicleid" expected token: "*then", but found ";" empty statement

