Help me with this bit of script please
#3

Quote:
Originally Posted by coole210
If they cant have nos they dont add nos so just add veh component and it will add

BTW im not sure if OnPlayerEnterVehicle will work ! Try OnPlayerStateChange

pawn Код:
//Under OnPlayerStateChange
if(GetPlayerState(playerid)) == PLAYER_STATE_DRIVER)
{
AddVehicleComponent(GetPlayerVehicleID(playerid), 1010);
}
Its not possible to do it on OnPlayerEnterVehicle,
because then it tries to add nos before he actually are inside the car..
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)