Raised This Month: $ Target: $400
 0% 

[HELP] VIP FLAG MODEL + ADD Owner Flag


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Baws
Veteran Member
Join Date: Oct 2012
Old 08-28-2013 , 02:44   Re: [HELP] VIP FLAG MODEL + ADD Owner Flag
Reply With Quote #4

Quote:
Originally Posted by Cheezpuff View Post
i think too. i have will check it today, i just on from Phone

but how can that Show in Menu Only Admin
i have it basebuilder65.sma

PHP Code:
public show_zclass_menu(id,offset)
{
    if(
offset<0offset 0

    
new keyscurnummenu[512], szCache1[32], szCache2[32], iCache3
    
for(new i=offset;i<g_iZClasses;i++)
    {
        
ArrayGetString(g_zclass_nameiszCache1charsmax(szCache1))
        
ArrayGetString(g_zclass_infoiszCache2charsmax(szCache2))
        
iCache3 ArrayGetCell(g_zclass_admini)
        
        
// Add to menu
        
if (== g_iZombieClass[id])
            
format(menu,511,"%s^n\d%d. %s \r[ \w%s %s \r]"menucurnum+1szCache1szCache2iCache3 == ADMIN_ALL "" "(Admin Only)")
        else
            
format(menu,511,"%s^n\w%d.%s \r[ \w%s %s \r]"menucurnum+1szCache1szCache2iCache3 == ADMIN_ALL "" "(Admin Only)")    
        
        
g_iMenuOptions[id][curnum] = i
        keys 
+= (1<<curnum)
    
        
curnum++
        
        if(
curnum==8)
            break;
    } 
what that mean?
or dont need change here nothing?


Code:
public show_zclass_menu(id,offset) {     if(offset<0) offset = 0     new keys, curnum, menu[512], szCache1[32], szCache2[32], iCache3     for(new i=offset;i<g_iZClasses;i++)     {         ArrayGetString(g_zclass_name, i, szCache1, charsmax(szCache1))         ArrayGetString(g_zclass_info, i, szCache2, charsmax(szCache2))         iCache3 = ArrayGetCell(g_zclass_admin, i)                 // Add to menu         if (i == g_iZombieClass[id])             format(menu,511,"%s^n\d%d. %s \r[ \w%s %s \r]", menu, curnum+1, szCache1, szCache2, iCache3 == ADMIN_KICK ? "" : "(Admin Only)") // Here changed         else             format(menu,511,"%s^n\w%d.%s \r[ \w%s %s \r]", menu, curnum+1, szCache1, szCache2, iCache3 == ADMIN_KICK ? "" : "(Admin Only)") // Here changed                 g_iMenuOptions[id][curnum] = i         keys += (1<<curnum)             curnum++                 if(curnum==8)             break;     }
__________________
Like my clean plugins and work?

Last edited by Baws; 08-28-2013 at 02:45.
Baws 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 19:12.


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