14.08.2018, 18:54
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:
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); } |