register_clcmd("setinfo" .. Not Working !!
Hello Guys
why is this code not working plz Code:
public plugin_init()console: Code:
setinf fooso i tried register_clcmd("setinfo fb","setinfo") also and it didn't work ! anybody got an idea ! help .. thank you |
Re: register_clcmd("setinfo" .. Not Working !!
Setinfo is only client side command.
You can user get_user_info(); for gettin client keyinfo informations. |
Re: register_clcmd("setinfo" .. Not Working !!
okey then !
now i can see :S i use get_user_info when the user connects ! but i want to check when he changes his "fb" keys ! and i don't want to use client_infochanged from fear of lag ... anybody has an idea how to detect when a user executes Code:
setinfo fb "anything"btw it's an fbconnect plugin. take a look http://apps.facebook.com/noexitpro/ .... ma'dja look :P |
Re: register_clcmd("setinfo" .. Not Working !!
You can get it this way:
PHP Code:
|
Re: register_clcmd("setinfo" .. Not Working !!
how awesome Bro !
.. magic :) |
Re: register_clcmd("setinfo" .. Not Working !!
If you want to detect when some user info field is changed, you can hook FM_ClientUserInfoChanged.
You have to track all variables to know which one is changed. |
Re: register_clcmd("setinfo" .. Not Working !!
yeah it seems even "neater" ! Thank youuu
where's the karma+ button >.< |
Re: register_clcmd("setinfo" .. Not Working !!
Quote:
|
| All times are GMT -4. The time now is 05:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.