Raised This Month: $ Target: $400
 0% 

[HELP] Why is this not working?


Post New Thread Reply   
 
Thread Tools Display Modes
JoaoVieira
Senior Member
Join Date: May 2013
Location: Portugal
Old 02-07-2016 , 09:14   Re: [HELP] Why is this not working?
Reply With Quote #11

Soo can u fix it pls? and , where can i see the function of the read data??

//EDIT
i allready say , the main problem is , the case 2 doesn't show if victim is death , and i want to appear this:
PHP Code:
}
                case 
2:
                {
                    if(!
is_user_alive(id)) 
                    {
                    new 
victim_name[32]
                    
get_user_name(idvictim_namecharsmax(victim_name)) 
                    
set_hudmessage(2550100, -1.00.5501.01.00.010.01, -1)
                    
show_dhudmessage(id"%s^n[%s]^nEsta Morto!",g_Tagdamagevictim_name);
                    }
                }
            }
        }
    } 
this
Quote:
This doesn't make any sense. You are declaring victim_name here.

PHP Code:
new victim_name[32]
get_user_name(id, victim_name, charsmax(victim_name))
is for this
PHP Code:
                    show_dhudmessage(id"%s^n[%s]^nEsta Morto!",g_Tagdamagevictim_name); 
this means
PHP Code:
                    show_dhudmessage(id"%s^n[%s]^nis Death!",g_Tagdamagevictim_name); 

Last edited by JoaoVieira; 02-07-2016 at 09:25.
JoaoVieira is offline
Old 02-07-2016, 09:23
JoaoVieira
This message has been deleted by JoaoVieira.
Old 02-07-2016, 09:24
JoaoVieira
This message has been deleted by JoaoVieira.
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 21:15.


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