[ajuda] AddVehicleComponent
#3

precisa definir 'vehicleid e vehicle'
tipo ID dos veiculos...
tente
pawn Код:
COMMAND:tune(playerid,params[])
{
    SendAdminText(playerid, "/tune", params);
    if (APlayerData[playerid][LoggedIn] == true)
    {
        if (APlayerData[playerid][PlayerScore] < 500)
       {
        new vehicle = GetPlayerVehicleID(playerid);
            AddVehicleComponent(vehicle,1010);
            AddVehicleComponent(vehicle,1080);
            AddVehicleComponent(vehicle,1087);
        }
    }
    else
        return 0;    
    return 1;
}
Reply


Messages In This Thread
[ajuda] AddVehicleComponent - by array13 - 03.09.2011, 15:49
Re: [ajuda] AddVehicleComponent - by Pharrel - 03.09.2011, 15:55
Re: [ajuda] AddVehicleComponent - by WLSF - 03.09.2011, 15:55
Re: [ajuda] AddVehicleComponent - by array13 - 03.09.2011, 16:11
Re: [ajuda] AddVehicleComponent - by Pharrel - 03.09.2011, 16:13
Re: [ajuda] AddVehicleComponent - by array13 - 03.09.2011, 17:43
Re: [ajuda] AddVehicleComponent - by Pharrel - 03.09.2011, 17:46
Re: [ajuda] AddVehicleComponent - by array13 - 03.09.2011, 18:02

Forum Jump:


Users browsing this thread: 1 Guest(s)