Raised This Month: $ Target: $400
 0% 

Blank String?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Spunky
Senior Member
Join Date: May 2008
Location: Orlando, Fl.
Old 06-14-2009 , 18:15   Blank String?
Reply With Quote #1

I have no idea why, but this isn't working:

Code:
if (equali(g_szBundleName[i], ""))

out of this code:

Code:
public cmd_create(id) {     if (!is_user_alive(id))         return PLUGIN_HANDLED     new const iIndex = id - 1     g_mCreateMenu[iIndex] = menu_create("Create Menu", "fnCreateMenu")     for (new i; i < 32; i++)     {         if (equali(g_szBundleName[i], ""))             break         num_to_str(i + 1, g_szKeys[i], 5)         menu_additem(g_mCreateMenu[iIndex], g_szBundleName[i], g_szKeys[i])     }     menu_setprop(g_mCreateMenu[iIndex], MPROP_TITLE, "Create Menu:")     menu_setprop(g_mCreateMenu[iIndex], MPROP_PERPAGE, 7)     menu_setprop(g_mCreateMenu[iIndex], MPROP_EXIT, MEXIT_ALL)     menu_display(id, g_mCreateMenu[iIndex], 0)     return PLUGIN_HANDLED }

I'm not sure that's the problem though. Help?
Spunky is offline
Send a message via AIM to Spunky
 


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 13:53.


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