Cmd not working
#10

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"
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)