Raised This Month: $ Target: $400
 0% 

error 033: array must be indexed


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
iloveportalz0r
Member
Join Date: May 2010
Location: Up yours
Old 06-20-2010 , 02:48   Re: error 033: array must be indexed
Reply With Quote #1

OK thanks. This worked:
Code:
public Action:Command_spawn(Client,args)
{
    if(args < 1)
    {
        ShowMOTDPanel(Client, "FunBox Help - Prop Names", "http://www.thechaoscrewclan.com/104/hl2mp/propnames.html", MOTDPANEL_TYPE_URL);
        return Plugin_Handled;
    }
    decl String:prop[32];
    decl String:isfroxxed[255];
    GetCmdArg(1,prop,32);
    GetCmdArg(2,isfroxxed,255);
    ClientCommand(Client, "e_spawnprop %s", prop);
    if (strcmp(isfroxxed, "frozen", false) == 0)
    {
        ClientCommand(Client, "sm_freeze");
    }
    return Plugin_Handled;
}
__________________
I sure was dumb in 2010

Last edited by iloveportalz0r; 06-20-2010 at 02:55.
iloveportalz0r is offline
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 14:42.


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