Help me with this bit of script please
#1

#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
Reply


Messages In This Thread
Help me with this bit of script please - by ThePS3Guy - 08.08.2009, 19:12
Re: Help me with this bit of script please - by coole210 - 08.08.2009, 19:40
Re: Help me with this bit of script please - by Chrham_2 - 08.08.2009, 19:47
Re: Help me with this bit of script please - by ThePS3Guy - 08.08.2009, 19:53

Forum Jump:


Users browsing this thread: 1 Guest(s)