01.04.2010, 13:44
Yeah, but since SetPlayerArmedWeapon just change the weapon that player is holding to the defined one. (I't will not be possible to use the Goggle's, they were going to be changed =/).
This script's just check if the player is holding a Goggle, then if the player press Fire, it will desync the player for other's causing the Fire button to work clientside only, not remotely. (That's done using return 0 in OnPlayerUpdate).
About the video and screens: I can't record/take right now maybe later. (Sorry )
Link updated: Added a new check (IsPlayerInAnyVehicle(playerid), to prevent desync the player inside a vehicle)
This script's just check if the player is holding a Goggle, then if the player press Fire, it will desync the player for other's causing the Fire button to work clientside only, not remotely. (That's done using return 0 in OnPlayerUpdate).
About the video and screens: I can't record/take right now maybe later. (Sorry )
Link updated: Added a new check (IsPlayerInAnyVehicle(playerid), to prevent desync the player inside a vehicle)