Anon!? It has been a while!
|
|
|
|
Would you like to get all the new info from
PSX-Scene in your email each day?
Want to learn more about the team keeping you up to date with the latest scene news?
Read about them now! Check out our Developer bios, too! | ||
|
|
well as we know code exists in the scos and uncompiled scocl projects so we have a basis to start from there... but though, as you might have missed all i really wish to do is locate the array with the active cars if we were to keep an eye on it as soon as a freezer car turns up we can try to get rid of it, i know GTA has such an array as its referenced in Magic Script thing that i was going to convert from the pc version to ps3, maybe i'm being a bit naive thinking it will be that simple but if there is anything in it it is certainly better than trying to find out if a player is spawning a car

I am honored to present to you all JDMAlex's fixed version of Motion97's Rapid Fire Script.
Hearin the fixed version is still freezin / laggin.
This one does na lag er freeze!
Code:#include <natives.h> #include <common.h> #include <strings.h> #include <types.h> #include <consts.h> #define L1 0x4 #define L2 0x5 #define R1 0x6 #define R2 0x7 #define DPAD_UP 0x8 #define DPAD_DOWN 0x9 #define DPAD_LEFT 0xA #define DPAD_RIGHT 0xB #define START 0xC #define SELECT 0xD #define SQUARE 0xE #define TRIANGLE 0xF #define X 0x10 #define CIRCLE 0x11 #define STICK_L 0x12 // L3 #define STICK_R 0x13 // R3 bool burstfire=true , off =0; void main(void){ THIS_SCRIPT_IS_SAFE_FOR_NETWORK_GAME(); WAIT(100); while(1){ if (IS_BUTTON_PRESSED(0, R1) && IS_BUTTON_JUST_PRESSED(0, X)){ if(!burstfire) burstfire=true; else burstfire=false; } if(burstfire){ off =1; int PlayerWep,MaxAmmo,ClipMax; GET_CURRENT_CHAR_WEAPON(GetPlayerPed(), &PlayerWep); if(PlayerWep != WEAPON_MOLOTOV && PlayerWep != WEAPON_GRENADE){ if(PlayerWep == WEAPON_RLAUNCHER){ SET_PLAYER_FAST_RELOAD(GetPlayerIndex(), true); ENABLE_MAX_AMMO_CAP(false); if(IS_BUTTON_PRESSED(0,7)) SET_CHAR_ALL_ANIMS_SPEED(GetPlayerPed(), 30); } else if(PlayerWep != WEAPON_RLAUNCHER){ SET_PLAYER_FAST_RELOAD(GetPlayerIndex(), true); ENABLE_MAX_AMMO_CAP(false); if(IS_CHAR_SHOOTING(GetPlayerPed())) SET_CHAR_ALL_ANIMS_SPEED(GetPlayerPed(), 30); } } else if(PlayerWep == WEAPON_MOLOTOV || PlayerWep == WEAPON_GRENADE) SET_CHAR_ALL_ANIMS_SPEED(GetPlayerPed(), 1); } else{ if(off=1) { SET_CHAR_ALL_ANIMS_SPEED(GetPlayerPed(), 1); off=0; } } } }
Last edited by nativesith; 01-03-2013 at 01:48 PM.
THANK U

here's my version from some time ago that works great for me
Code:if(rapidfire){ if((IS_CHAR_SHOOTING(pPlayer) && IS_BUTTON_PRESSED(0,BUTTON_R)) && !IS_CHAR_IN_ANY_CAR(pPlayer)){ SET_PLAYER_FAST_RELOAD(GetPlayerIndex(), true); SET_TIME_SCALE(50.0); SET_CHAR_ALL_ANIMS_SPEED(pPlayer, 30); } else{ SET_CHAR_ALL_ANIMS_SPEED(pPlayer, 1); SET_TIME_SCALE(1.0); } } else SET_PLAYER_FAST_RELOAD(GetPlayerIndex(), fastreload);
You tried the script I just posted?
| « Previous Thread | Next Thread » |
| Tags for this Thread |