Raised This Month: $ Target: $400
 0% 

newbie confused


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
svendude
Member
Join Date: Aug 2004
Old 10-20-2004 , 03:53  
Reply With Quote #6

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?
svendude is offline
Send a message via Yahoo to svendude
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:15.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode