fullupdate Blocker (fixes an expliot)

Post Reply
greenie
Full Member
Full Member
Posts: 1815
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Nu

fullupdate Blocker (fixes an expliot)

Post by greenie »

I just found this out recently..... if you use the client command "fullupdate" it will force a HUD reset on your end. The problem with this for plugins is that MANY use this event to tell when a user has a new spawn at that start of a round like so..
register_event("ResetHUD","newSpawn","b")
This event is in fact called when using this "fullupdate" command. It can be used to reset tons of settings in most plugins because this is where they initialize variables for the round.

I made a simple plugin that blocks this command form resetting the HUD. I have not found any valid use for this command so blocking it should be safe.

Plugin now logs attempts to "fullupdate.log" in the logs dir.

Just load this plugin before any plugin you want it to affect.

get plugin
Post Reply

Return to “Event Related”