How to edit system Driver By
#1

Hi, I'm having a problem with my car's shooting system, I'm wondering how to shoot guns in all the guns. If anyone knows please help me improve it, thanks.

Code:
Quote:

if(IsPlayerInAnyVehicle(i)) {
if(GetPlayerState(i) == PLAYER_STATE_PASSENGER || PLAYER_STATE_DRIVER) SetPlayerArmedWeapon(i, 0);
else if(PlayerInfo[i][pGuns][4] == 0) SetPlayerArmedWeapon(i, 0);
else SetPlayerArmedWeapon(i, 29);
}

Reply
#2

what?
Reply
#3

Simply remove the "SetPlayerArmedWeapon" part, or remove the entire code
Reply
#4

Remove Setplayerarmedweapon in part, I tried removing all the code but it failed
Reply
#5

Remove SetPlayerArmedWeapon in which paragraph you can specify it to help me?
Reply
#6

I tried to erase all but when I entered the game I tested it is faulty, I have an M4 weapon while out in the car and when the press G on the car and down the car it lost the gun. If someone knows how to fix this please help me.
Reply
#7

You have been made? Help with my
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)