Raised This Month: $ Target: $400
 0% 

problem with if


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
lqlqlq
Senior Member
Join Date: Jan 2008
Old 12-16-2011 , 19:43   problem with if
Reply With Quote #1

here is the code
Code:
public client_putinserver(id) {
if(!get_pcvar_num(is_it_on) || !is_user_connected(id) || is_user_bot(id))
return PLUGIN_HANDLED
if(!access(id, ADMIN)) {
set_task(1.0, "EnableAntiCheat")

set_task(5.0, "input", id)
}
return PLUGIN_HANDLED
}
When im with nick "vvvv" - the anticheat kick me when not have immunity access, but when i change name and wait 1.0 seconds - anticheat kick me again.
Whats wrong ? How to check name change and recheck if when name is changed.
Thanks!
lqlqlq is offline
 


Thread Tools
Display Modes

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 20:59.


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