Raised This Month: $ Target: $400
 0% 

problem with pcvar


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Nepopus
Member
Join Date: Jun 2008
Location: Russia/Moscow
Old 07-24-2008 , 16:03   problem with pcvar
Reply With Quote #1

full code is pretty big, if u want to see it go to http://forums.alliedmods.net/showthread.php?t=74581

doesnt work
Quote:
public client_putinserver(id) {

if(msg_hide != 0)
return PLUGIN_CONTINUE
works
Quote:
public client_putinserver(id) {

log_amx("msg_hide = %d", msg_hide)

if(msg_hide != 0)
return PLUGIN_CONTINUE
what the hell :\

P.S. i got error from example 1, and i did test with log_amx like as example 2, but with this line all works fine
__________________
hi maaaaaan
my server here soon

Last edited by Nepopus; 07-24-2008 at 16:24.
Nepopus is offline
Send a message via ICQ to Nepopus Send a message via Skype™ to Nepopus
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 07-24-2008 , 16:07   Re: problem with pcvar
Reply With Quote #2

I don't understand.
Show your full code.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Nepopus
Member
Join Date: Jun 2008
Location: Russia/Moscow
Old 07-24-2008 , 16:08   Re: problem with pcvar
Reply With Quote #3

Quote:
Originally Posted by X-olent View Post
I don't understand.
Show your full code.
http://forums.alliedmods.net/showthread.php?t=74581
__________________
hi maaaaaan
my server here soon
Nepopus is offline
Send a message via ICQ to Nepopus Send a message via Skype™ to Nepopus
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 07-24-2008 , 16:08   Re: problem with pcvar
Reply With Quote #4

PHP Code:
public client_putinserver(id)
{
        if (!
msg_hide// Or if (!get_pcvar_num(msg_hide)), I didn't really understand what you gave us
                
return PLUGIN_HANDLED
 
        log_amx
("msg_hide = %d"msg_hide)

__________________
hleV is offline
Nepopus
Member
Join Date: Jun 2008
Location: Russia/Moscow
Old 07-24-2008 , 16:10   Re: problem with pcvar
Reply With Quote #5

Quote:
Originally Posted by hleV View Post
PHP Code:
public client_putinserver(id)
{
        if (!
get_pcvar_num(msg_hide))
                return 
PLUGIN_HANDLED
 
        log_amx
("msg_hide = %d"msg_hide)

i dont need log_amx, i did it for testing, but with this works fine
u can see full code from link above, i commented this error("//")
__________________
hi maaaaaan
my server here soon
Nepopus is offline
Send a message via ICQ to Nepopus Send a message via Skype™ to Nepopus
Old 07-24-2008, 16:17
hleV
This message has been deleted by hleV.
Nepopus
Member
Join Date: Jun 2008
Location: Russia/Moscow
Old 07-24-2008 , 16:54   Re: problem with pcvar
Reply With Quote #6

em.. now works fine :\ dunno what was it, anyway thanks
__________________
hi maaaaaan
my server here soon
Nepopus is offline
Send a message via ICQ to Nepopus Send a message via Skype™ to Nepopus
Old 07-24-2008, 16:55
Nepopus
This message has been deleted by Nepopus.
Reply



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 05:40.


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