undefined symbol "vehicleid" HELP!
#4

Change this:
pawn Код:
if (strcmp("/mycommand", cmdtext, true, 10) == 0)
    {
        TuneVehicleRandomly(vehicleid);
        return SendClientMessage(playerid,-1,"Your car has been tuned.");
        return 1;
    }
for this:
pawn Код:
if (strcmp("/mycommand", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInAnyVehicle(playerid)){
            TuneVehicleRandomly(GetPlayerVehicleID(playerid));
            SendClientMessage(playerid,-1,"Your car has been tuned.");
            return 1;
        } else return SendClientMessage(playerid, 0xFF0000FF, "You are not in a car."),1;
    }
Reply


Messages In This Thread
undefined symbol "vehicleid" HELP! - by VanillaRain - 23.04.2012, 18:04
Re: undefined symbol "vehicleid" HELP! - by Scripter12345 - 23.04.2012, 18:08
AW: undefined symbol "vehicleid" HELP! - by BigETI - 23.04.2012, 18:08
Respuesta: undefined symbol "vehicleid" HELP! - by Francis. - 23.04.2012, 18:09
Re: undefined symbol "vehicleid" HELP! - by Calgon - 23.04.2012, 18:11
Re: undefined symbol "vehicleid" HELP! - by VanillaRain - 23.04.2012, 18:27
Re: Respuesta: undefined symbol "vehicleid" HELP! - by VanillaRain - 23.04.2012, 18:29
Re: undefined symbol "vehicleid" HELP! - by Calgon - 23.04.2012, 18:29
Re: undefined symbol "vehicleid" HELP! - by VanillaRain - 23.04.2012, 18:31

Forum Jump:


Users browsing this thread: 1 Guest(s)