08.08.2009, 19:12
#include <a_samp>
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print("SSnS::Cars by skyturnred");
print("--------------------------------------\n");
return 1;
}
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if vehicleid =
{
581,523,462,521,463,522,461,448,468,586,
509,481,510,472,473,493,595,484,430,453,
452,446,454,590,569,537,538,570,449
};
do nothing
else;
AddVehicleComponent(vehicleid, 1010);
return 1;
}
im trying to make it so that when someone enters a car they get nos, but not if its a car that cant have nos, like a plane or nrg
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print("SSnS::Cars by skyturnred");
print("--------------------------------------\n");
return 1;
}
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if vehicleid =
{
581,523,462,521,463,522,461,448,468,586,
509,481,510,472,473,493,595,484,430,453,
452,446,454,590,569,537,538,570,449
};
do nothing
else;
AddVehicleComponent(vehicleid, 1010);
return 1;
}
im trying to make it so that when someone enters a car they get nos, but not if its a car that cant have nos, like a plane or nrg