Show when enter!
#7

Quote:
Originally Posted by ColdXX
Quote:
Originally Posted by FreddoX [BINMAN
]
Quote:
Originally Posted by ColdXX
Quote:
Originally Posted by † мąүқоҳ™
https://sampwiki.blast.hk/wiki/OnPlayerEnterVehicle ... Put that compotents here (Stuff that you usualy add) It should work i guess... Idk about the paintjobs.
I tried this but it didnt work...maybe i didnt do it well :S
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
 AddVehicleComponent(car8,1010);
    return 1;
}
Like this?
Creating an alternate variable would not be necessary if you're applying modifications to the vehicle they enter, but you're on the right tracks.

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
  AddVehicleComponent(vehicleid, 1010);
  return 1;
}
Yea but if i have more cars...to which i wanna add parts...i have to use only that? but that wont add nos to every car i enter?:S
Then you'll have to use alternate variables, my post was merely stating that when you enter 1 vehicle you'll only want to affect that 1 - so create 1 variable, if not then you will need alternate variables.
Reply


Messages In This Thread
Show when enter! - by ColdXX - 25.03.2010, 19:27
Re: Show when enter! - by MaykoX - 25.03.2010, 19:30
Re: Show when enter! - by ColdXX - 25.03.2010, 19:40
Re: Show when enter! - by Calgon - 25.03.2010, 19:45
Re: Show when enter! - by ColdXX - 25.03.2010, 19:50
Re: Show when enter! - by MaykoX - 25.03.2010, 19:52
Re: Show when enter! - by Calgon - 25.03.2010, 19:53
Re: Show when enter! - by ColdXX - 25.03.2010, 19:56
Re: Show when enter! - by newarvuti - 06.06.2010, 17:15
Re: Show when enter! - by DJDhan - 06.06.2010, 17:20

Forum Jump:


Users browsing this thread: 1 Guest(s)