Client_print_color
#1
Hola me tira error en "client_print_color" como puedo solucionarlo?

Cita:Error: Argument type mismatch (argument 2) on line 192

Código PHP:
public login(id) {
    
    if(
g_logged[id]) {
        
        
menu_account(id)
        
set_hudmessage(255000.020.1706.012.0)
        
show_hudmessage(id"%L"LANG_PLAYER"MENU_ACCOUNT_CASE_00_A")
        
client_print_color(id"!g%L !t%L"LANG_PLAYER"REG_PREFIX"LANG_PLAYER"MENU_ACCOUNT_CASE_00_A")
    }
    else if(!
g_registered[id]) {
        
        
menu_account(id)
        
set_hudmessage(255000.020.1706.012.0)
        
show_hudmessage(id"%L"LANG_PLAYER"MENU_ACCOUNT_CASE_00_B")
        
client_print_color(id"!g%L !t%L"LANG_PLAYER"REG_PREFIX"LANG_PLAYER"MENU_ACCOUNT_CASE_00_B")
    }
    else {
        
        
client_cmd(id,"messagemode ENTER_YOUR_PASSWORD")
        
set_hudmessage(025500.020.1706.012.0)
        
show_hudmessage(id"%L"LANG_PLAYER"MENU_ACCOUNT_CASE_00_C")
        
client_print_color(id"!g%L !t%L"LANG_PLAYER"REG_PREFIX"LANG_PLAYER"MENU_ACCOUNT_CASE_00_C")
        
g_unlock[id] = false
    
}
    return 
PLUGIN_HANDLED

Responder
#2
https://www.amxmodx.org/api/amxmodx/client_print_color
Responder


Salto de foro:


Usuarios navegando en este tema: 1 invitado(s)