[Pomoc] Plugin HP za team
Results 1 to 2 of 2
  1. #1
    Junior Member Array
    Join Date
    Jul 2017
    Karma
    0

    Exclamation Plugin HP za team

    Zdravo, imam server JailBreak i sada mi treba neki plugin koji ct-u daje 150 dodatnog hp-a, sto znaci da treba da ima 250 a za TT da doda 50, sto znaci 150 da ima i to u svakoj rundi ?
    Moze li mi neko pomoci ?

  2. #2
    Senior Member Array
    Join Date
    Jun 2015
    Location
    Belgrade
    Karma
    8

    Default

    https://forum.kgb-hosting.com/showthread.php?t=102890

    PHP Code:
    #include <amxmodx>
    #include <fun>
    #include <hamsandwich>

    #define PLUGIN  "More HP on start"
    #define VERSION "1.0"
    #define AUTHOR  "JustORS"

    public plugin_init()
    {
        
    register_plugin(PLUGINVERSIONAUTHOR);
        
    RegisterHam(Ham_Spawn"player""PlayerSpawn"1);
    }

    public 
    PlayerSpawn(id) {
        if(
    is_user_alive(id) && get_user_team(id) == 2)
            
    set_user_health(id250); 
        if(
    is_user_alive(id) && get_user_team(id) == 1)
            
    set_user_health(id150); 


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •