Vice City Multiplayer

VC:MP 0.4 (Beta) => Script Discussion => Topic started by: Mariu22S on September 12, 2014, 06:57:08 pm

Title: How to block shooting from a vehicle?
Post by: Mariu22S on September 12, 2014, 06:57:08 pm
It's about shooting the Uzi blockade of the vehicle.
Title: Re: How to block shooting from a vehicle?
Post by: sseebbyy on September 12, 2014, 07:28:48 pm
You are talking about the Drive-by ability.
Use SetDisableDriveby (http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/SetDisableDriveby) function !
Title: Re: How to block shooting from a vehicle?
Post by: Mariu22S on September 12, 2014, 07:35:40 pm
AN ERROR HAS OCCURED [the index 'SetDisableDriveby' does not exist]    ;/


update;
Ok I found already
SetDrivebyEnabled( false/true  );
Title: Re: How to block shooting from a vehicle?
Post by: sseebbyy on September 12, 2014, 11:33:18 pm
damn you, wiki.
Anyway, lock the topic if you found the solution. :P