30.03.2011, 23:50
can you help please, im trying to make nitros when player press fire
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if (KEY_FIRE)
{
if(IsPlayerInAnyVehicle(playerid))
{
AddVehicleComponent(vehicleid, 1010);
}
}
return 1;
}