fullupdate Blocker (fixes an expliot)

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

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
π‘΄π’‚π’šπ’ƒπ’† 𝒕𝒉𝒆 𝑬𝒂𝒓𝒕𝒉 π’Šπ’” 𝒕𝒉𝒆 𝑯𝒆𝒍𝒍 𝒐𝒇 𝑨𝒏𝒐𝒕𝒉𝒆𝒓 𝑷𝒍𝒂𝒏𝒆𝒕... ☒️

βœ… GAZDUIRE JOCURI / VPS / GAZDUIRE WEB / SERVERE DEDICATE - Stock NELIMITAT / Valabil comandati pe https://www.zonek.ro/
Post Reply

Return to β€œEvent Related”