ok thx, now i started small, just an easy rendering script:
Code:
#include <amxmodx>
#include <amxmisc>
#include <fun>
public plugin_init(){
register_plugin("inviso","1.0","Carl/svendude")
register_concmd("amx_inviso","cmdinviso",ADMIN_BAN,"<name or #userid>")
return PLUGIN_CONTINUE
}
public cmdinviso(id, level, cid)
{
if (!cmd_access(id,level,cid,2))
return PLUGIN_HANDLED
set_user_rendering(index,kRenderTransTexture,255,0,0,kRenderNormal,25)
return PLUGIN_HANDLED
}
now it says index is undefined, what does that mean? what slot i want it to be? what if i want it to be any slot?
ps: can you tell where my loose identity thingy is?