Closed dysphie closed 3 months ago
Repro:
sm_inv
ItemBoxOpen
The supply crate UI will have no background. After spawning an actual supply crate, the background will render
Code:
#include <sourcemod> public void OnPluginStart() { RegConsoleCmd("sm_inv", Cmd_Inv); } Action Cmd_Inv(int client, int args) { client = 1; Handle msg = StartMessageOne("ItemBoxOpen", client, USERMSG_RELIABLE | USERMSG_BLOCKHOOKS); BfWrite bf = UserMessageToBfWrite(msg); bf.WriteShort(1337); for (int i = 0; i < 20; i++) { int id = GetRandomInt(1, 67); bf.WriteShort(id); } EndMessage(); return Plugin_Handled; }
Additionally it will display the wrong background afterwards for ItemBoxOpenUncategorized
ItemBoxOpenUncategorized
Fixed in src-r7367.
Repro:
sm_inv
or fireItemBoxOpen
some other way without spawning a supply crate firstThe supply crate UI will have no background. After spawning an actual supply crate, the background will render
Code: