Raised This Month: $ Target: $400
 0% 

client_print (HELP)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Id0x.
Junior Member
Join Date: Dec 2020
Old 12-19-2020 , 09:27   client_print (HELP)
Reply With Quote #1

Code:
L 12/17/2020 - 10:11:02: [AMXX] Displaying debug trace (plugin "show_health.amxx", version "1.0")
L 12/17/2020 - 10:11:02: [AMXX] Run time error 10: native error (native "client_print")
L 12/17/2020 - 10:11:02: [AMXX]    [0] phpcQFNsK.sma::event_damage (line 12)

PHP Code:
#include <amxmodx>
#include <cstrike>

public plugin_init() {
    
register_plugin("ZE: Show Victim HP On Damage""1.0""<VeCo>")
    
register_event("Damage","event_damage","b","2!0","3=0","4!0")
}

public 
event_damage(id)
{
    new 
killer get_user_attacker(id)
    if(
cs_get_user_team(id) == CS_TEAM_Tclient_print(killer,print_center,"HP: %i",get_user_health(id))



line 12:

PHP Code:
    if(cs_get_user_team(id) == CS_TEAM_Tclient_print(killer,print_center,"HP: %i",get_user_health(id)) 
Id0x. 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 14:08.


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