AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   warning 203: symbol is never used: "client_putinserver& (https://forums.alliedmods.net/showthread.php?t=3501)

Dygear 07-08-2004 06:22

warning 203: symbol is never used: "client_putinserver&
 
But I did, WTF?

Code:
#include <amxmodx> public plugin_init(){     register_plugin("Ub3r Event Plugin","0.3","Dygear") } client_putinserver(id){     if (access(id,ADMIN_ADMIN)){         new parm[1]         parm[0]=id         set_task(1.0,"doRed",0,parm,1,"",0)         set_task(3.0,"doWhite",0,parm,1,"",0)         set_task(5.0,"doBlue",0,parm,1,"",0)     }else{     if (access(id,ADMIN_USER)){         new parm[1]         parm[0]=id         set_task(7.0,"doLight_Purple",0,parm,1,"",0) } public doRed(parm[]){     new name[33]     new id=parm[0]     get_user_name(id,name,32)     set_hudmessage(255,0,0,-1.0,-0.45,0,0.0,5.0,0.0,0.0,3);     show_hudmessage(0,"[ADMIN] %s has joined the server",name); } public doWhite(parm[]){     new name[33]     new id=parm[0]     get_user_name(id,name,32)     set_hudmessage(0,0,0,-1.0,-0.45,0,0.0,5.0,0.0,0.0,3);     show_hudmessage(0,"[ADMIN] %s has joined the server",name); } public doBlue(parm[]){     new name[33]     new id=parm[0]     get_user_name(id,name,32)     set_hudmessage(0,0,255,-1.0,-0.45,0,0.0,5.0,0.0,0.0,3);     show_hudmessage(0,"[ADMIN] %s has joined the server",name); } public doLight_Purple(parm[]){     new name[33]     new id=parm[0]     get_user_name(id,name,32)     set_hudmessage(100,100,255,-1.0,-0.45,0,0.0,5.0,0.0,0.0,3);     show_hudmessage(0,"[ADMIN] %s has joined the server",name); }

SidLuke 07-08-2004 06:26

public client_putinserver(id)

Dygear 07-08-2004 06:29

... wow it must be late ...
Ok its 5:18am right now, sorry for the stupid post.
You can delete this.


All times are GMT -4. The time now is 14:56.

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