SA-MP Forums Archive
Small Code Help - 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: Small Code Help (/showthread.php?tid=317440)



Small Code Help - [bs]_lancer - 11.02.2012

hmmm i think everybody knows those buttons which we press in order to drive faster in stunt servers ... well .. can i have a small code for this ?! i want it that if i pressed C button my car will go faster without using Nos


Re: Small Code Help - Tanush123 - 11.02.2012

i think you mean speedboost, use this pastebin by JaTochNietDan
http://pastebin.com/f7c8b6977

and change
pawn Код:
if(Keys &= 4)
under public SpeedBoost to
pawn Код:
if(Keys &= 2)



Re: Small Code Help - [bs]_lancer - 11.02.2012

k it works but with H button

i want c button


Re: Small Code Help - Tanush123 - 11.02.2012

check all the if(keys != to 2 under speedboost