Raised This Month: $ Target: $400
 0% 

Client info changed


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
butthead
Member
Join Date: May 2007
Location: Nitra, Slovakia
Old 12-22-2008 , 07:35   Client info changed
Reply With Quote #1

Help me plz,

this problem:

PHP Code:
public client_infochanged(id) {
    
    if (!
is_user_connected(id))
        return 
PLUGIN_CONTINUE;
    
    
query_client_cvar(id"cl_sidespeed""ClientCvarResult")
   
    return 
PLUGIN_CONTINUE;
}

public 
ClientCvarResult(id, const cvar[], const value[]) {

    new 
name[32]
    
    
get_user_name(idname31)

    if(
value[id] > 400// < --- line 153
        
log_amx("Check sidespeed change : Nick %s /// change to value: %s"namevalue)
    return 
PLUGIN_CONTINUE;

Error:
PHP Code:
L 12/22/2008 13:33:01: [AMXXRun time error 5memory access 
L 12
/22/2008 13:33:01: [AMXX]    [0plugin.sma::ClientCvarResult (line 153
Thx
__________________

Last edited by butthead; 12-22-2008 at 07:37.
butthead is offline
 



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 09:16.


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