Cmd not working
#5

Looks like this now:
Код:
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;
		}
But 4 errors:
Код:
undefined symbol "vehicleid"
expected token: "*then", but found ";"
empty statement
Without ''if'' infront of IsPlayerInVehicle was 12 errors!!
Reply


Messages In This Thread
Cmd not working - by DJRebis - 11.07.2013, 13:16
Re: Cmd not working - by DJRebis - 11.07.2013, 14:22
Re: Cmd not working - by DJRebis - 11.07.2013, 15:34
Re: Cmd not working - by Dragonsaurus - 11.07.2013, 15:39
Re: Cmd not working - by DJRebis - 11.07.2013, 15:50
Re: Cmd not working - by LendaDaMorte - 11.07.2013, 15:57
Re: Cmd not working - by DJRebis - 11.07.2013, 15:58
Re: Cmd not working - by Dragonsaurus - 11.07.2013, 15:59
Re: Cmd not working - by mahdi499 - 11.07.2013, 16:00
Re: Cmd not working - by DJRebis - 11.07.2013, 16:06

Forum Jump:


Users browsing this thread: 1 Guest(s)