Raised This Month: $ Target: $400
 0% 

Reserved Championship slots


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
VisioNN
Junior Member
Join Date: Jan 2013
Old 08-08-2013 , 13:15   Reserved Championship slots
Reply With Quote #1

i had this error
"error 006: must be assigned to an array"
know anyone how to fix it?

PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <engine>

#define ACCESS ADMIN_SLAY


new steam[40];

public 
plugin_init() 
{
    
register_plugin("reserved,"1.0","VisioN")
    register_logevent("
roundstart", 2, "1=Round_Start")
    steam[1]="
STEAM_0:0:658786799";
    steam[2]="
STEAM_0:0:543534534";


}

public roundstart(id)
{
   set_task(0.7, "
client_connect", id)
}

public client_connect(id)
{
    new k=0, authid[32], i, userid2;
    userid2 = get_user_userid(id)
    get_user_authid(id, authid, 31)
    
    
    for(i=0;i<=40;i++)
    {    
        if(steam = authid)
        {
            k=1;
        }
    }
    if(k=0)
    {
    server_cmd("
kick #%d", userid2)

    
}



Last edited by VisioNN; 08-08-2013 at 13:16.
VisioNN 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 15:53.


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