SA-MP Forums Archive
[FilterScript] [FS]Goggles Desyncer - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] [FS]Goggles Desyncer (/showthread.php?tid=138303)



[FS]Goggles Desyncer - GhOsT[X] - 01.04.2010



Download:
http://pastebin.com/Q54s81nd

Credits:
Me
Headshot4Fun for Beta Testing
SA-MP Forums Showroom @_@
Pastebin =)


Re: [FS]Goggles Desyncer - MPKaboose - 01.04.2010

screenshots anything?


Re: [FS]Goggles Desyncer - Zh3r0 - 01.04.2010

WTH is this?


Re: [FS]Goggles Desyncer - GhOsT[X] - 01.04.2010

Desyncer for Goggles.

Since when a player uses the goggle, it enables the effect's for all players in the radius(area).

This FS, Do the same that SetDisabledWeapons did when used for goggles (before this function was removed).

Hmmmm, I don't think screenshots are needed.
Because a screenshot will just show that for the goggle's user the effect will exist and for the other player(s), they will not be affected by the goggle effect.




Re: [FS]Goggles Desyncer - WebGh0st - 01.04.2010

It might be usefull, to post some screens, or an movie?
An movie is more usefull I think.. =]

- Lex


Re: [FS]Goggles Desyncer - Calgon - 01.04.2010

I'd just use

pawn Код:
SetPlayerArmedWeapon(playerid, 0);



Re: [FS]Goggles Desyncer - Thrarod - 01.04.2010

I think that way is safer


Re: [FS]Goggles Desyncer - GhOsT[X] - 01.04.2010

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)



Re: [FS]Goggles Desyncer - 02manchestera - 01.04.2010

I think i know what he means. You know if you use night-vision goggles everyone screen turn the green colour as well but this will top it haening and only the player with them with have the effect no the hole server this if this is true it is a very good FS and i will use it.


Re: [FS]Goggles Desyncer - GhOsT[X] - 01.04.2010

Yeah, if you was dreaming about it ^^ your dream came true. (Joke)

Use and abuse it