Code:
g_pclengfuncs = (cl_enginefunc_t *)(OFFSET_CLIENT_ENGFUNC);
memcpy(&g_clengfuncs, g_pclengfuncs, sizeof(cl_enginefunc_t));
wrect_t rc;
rc.left = 500;
rc.top = 400;
rc.right = 600;
rc.bottom = 500;
HSPRITE_t hspr = g_clengfuncs.pfnSPR_Load("sprites/crosshairs.spr");
g_clengfuncs.pfnSetCrosshair(hspr, rc, 255, 255, 255);
g_clengfuncs.pfnFillRGBA(500, 400, 100, 100, 255, 0, 0, 255);
I can see the crosshairs spr, but the square don't show, weird
__________________
Project : CSDM all in one - 99%
<team balancer#no round end#entity remover#quake sounds#fake full#maps management menu#players punishment menu#no team flash#colored flashbang#grenade trails#HE effect#spawn protection#weapon arena#weapon upgrade#auto join#no weapon drop#one name>