03.09.2011, 15:55
precisa definir 'vehicleid e vehicle'
tipo ID dos veiculos...
tente
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;
}