Announcement

If you are having trouble logging in, please reset your password.
If you are not getting an activation email, please check your spam or
use the "Contact Us" to contact an admin.
June 25, 2012, 10:25:44 AM Last Edit: January 01, 1970, 12:00:00 AM by Guest
Hi Everyone!


 




After a long time I install and mod mafia again. Unfortunately my account is dissapeared from mafiascene.com but today I create a new one. So my question is that how can I create sequential transmission for mafia. My idea is to scriptly press button like ctrl_read 0, 1 GEARUP but this script is only check that the player pushed the button or not. I'm thinking about a script that automatically push this button. The problem is that I can't find a syntax to change gears.  I've already have script for button controll but I have to know the syntax...I think it's decoded in GAME.EXE because if you open this file in HEX you'll find GEARUP and GEARUP1 (these are the button names that controll the script to shift gears manually)




Does anybody have an idea?

#1 June 25, 2012, 02:53:47 PM Last Edit: January 01, 1970, 12:00:00 AM by Guest
If you press M in a car it will change to sequential (Manual) and you use the set keys.




Is that what you mean?

#2 June 26, 2012, 07:49:23 AM Last Edit: January 01, 1970, 12:00:00 AM by Guest
No I want to bind the gears for "Ingame" buttons. For example:


 




1st gear: press JUMP1




2nd gear: press SNIPERMODE




3rd gear: press CROUCH




4th gear: press RELOAD




...


 




I hope this little exaple can translate my previous message. I would like to know the syntax wich is controlling the gear shifting.


 




Anyway thanks for the quick reply.  <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">

#3 June 26, 2012, 03:03:46 PM Last Edit: January 01, 1970, 12:00:00 AM by Guest
Ohhh, right i see what you mean... hmm.. there probably is a way to code it, but im not a coder, maybe wait for another response from someone more experienced


 




I'm correcting the subject, thanks - Cole