Vehicle like MTA (ghost) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Vehicle like MTA (ghost) (
/showthread.php?tid=578919)
Vehicle like MTA (ghost) -
AlexBlack - 23.06.2015
Hi, i want to make a systиme , like when 2 players are in a vehicles ( not the same vehicle ), and one of this players try to touch the vehicle of the second player the vehicles will not be touched and it will be like a ghost vehicles , like MTA RACE mode , i have see this before in samp , but what fonction need to use it for ? i don't have any idea how to make it , please help
Re : Vehicle like MTA (ghost) -
KillerDVX - 23.06.2015
Like an auto reparation or what.. ?
Re: Vehicle like MTA (ghost) -
Larceny - 23.06.2015
https://sampwiki.blast.hk/wiki/DisableR...icleCollisions
Re : Vehicle like MTA (ghost) -
AlexBlack - 23.06.2015
What conditions needed to use this function, the 2 players need to be in vehicle ? if the player exit the vehicle it will be disabled ? If the player is in vehicle it will work with unused vehicles ? Thanks.
Re: Re : Vehicle like MTA (ghost) -
Larceny - 23.06.2015
Quote:
Originally Posted by AlexBlack
What conditions needed to use this function, the 2 players need to be in vehicle ?
|
Yes, unoccupied vehicles still have collision tho.
Quote:
Originally Posted by AlexBlack
if the player exit the vehicle it will be disabled ?
|
No, but there will be collision if the player is on-foot.
Quote:
Originally Posted by AlexBlack
If the player is in vehicle it will work with unused vehicles ? Thanks.
|
It won't.
Re : Vehicle like MTA (ghost) -
AlexBlack - 24.06.2015
Value 1 Its to disable and 0 to enable ?
Re : Vehicle like MTA (ghost) -
ManuelNeuer - 24.06.2015
Quote:
Originally Posted by AlexBlack
Value 1 Its to disable and 0 to enable ?
|
Yes 0 enable and 1 disable.