Raised This Month: $51 Target: $400
 12% 

[ZP][AYUDA] Esta bien este code?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
MefelZ
Junior Member
Join Date: Aug 2013
Old 09-28-2013 , 23:16   [ZP][AYUDA] Esta bien este code?
#1

Hola, bueno en mi sv ZA esta para que salga a los admins [ADMIN] junto a su nombre y [DUEÑO] junto al nombre del dueño oviamente, bueno la cosa es que estaba asi:

PHP Code:
if(get_user_flags(id) & ADMIN_CVAR)
    {
        
mod "^x04[DUEÑO]^x04"
    
}
    else if(
get_user_flags(id) & ADMIN_RESERVATION)
    {
        
mod "^x04[ADMIN]^x04"
    
}
    else
    {
        
mod "^x01"
    

Pero yo le quiero agregar otro diciendo [ADMIN GENERAL] y le agregue esto:

PHP Code:
if(get_user_flags(id) & ADMIN_CVAR)
    {
        
mod "^x04[DUEÑO]^x04"
    
}
    else if(
get_user_flags(id) & ADMIN_RESERVATION)
    {
        
mod "^x04[ADMIN]^x04"
    
}
    else
    {
        
mod "^x01"
    
}
    if(
get_user_flags(id) & ADMIN_LEVEL_C)
    {
        
mod "^x04[ADMIN GENERAL]^x04" 
Pero no estoy seguro si es correcto o no porfavor, corrijanme si estoy equivocado, estoy aprendiendo a scriptear xD no me puteen po hacerlo mal si pls, eso gracias
__________________
_______________________________________

Scripter Noob (ZP)
MefelZ 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 00:31.


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