Raised This Month: $ Target: $400
 0% 

EXOLENT HELP LEASE


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
AlejandroSk
BANNED
Join Date: Nov 2008
Location: Aqui, en mi casa. Karma:
Old 02-21-2009 , 17:34   EXOLENT HELP LEASE
Reply With Quote #1

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

public init(id)

    
        new 
damage read_data(2)
        new 
points[33]
        new 
g_haspoints[33]
        
        if (
damage)
        {
            
set_task(15.0"TaskPoint"id)
            
        }
        
        if (
damage == 500 || damage 500)
        {
            
points[id] = 30
            g_haspoints
[id] = true
            remove_task
(id,1)
            
set_task(15.0"TaskPoint"id)
        }
        
        if ( 
points[id] == 90)
        {
            
zp_set_user_ammo_packs(id,2)
        
        
            
set_hudmessage(0100200, -1.00.5520.14.00.020.027)
            
show_hudmessage(id,"Combo! %i Damage! ,You get 2 Ammo Packs As Reward!  "damage)            
    }
}

public 
plugin_init() {  
   
register_plugin("[ZP] Server Addon: Combo Rewards","0.1","AlejandroSk")  
   
register_event("Damage""init""b""2!0""3=0""4!0"
        } 
Need add a task ( TaskPoint ) that set point of the player to 0 can anyone help e?
AlejandroSk is offline
Send a message via MSN to AlejandroSk
 



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 17:08.


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