User
Pass
2FA
 
 

Cerere plugin HP - zm

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> CS 2006-2019 (Archived) -> Resources
Author Message1106
extreme18910

[Mentally Stable]



Status: Offline
(since 29-03-2014 10:21)
Joined: 22 May 2013
Posts: 42, Topics: 25
Location: Romania

Reputation: 37.5
Votes: 2

Post Posted: 02-08-2013, 14:39:11 | Translate post to: ... (Click for more languages)

Am nevoie de un plugin pt HP la human sa poata fi cumparat doar o singura data si sa primeasca 1k .
0 0
  
Back to top
View user's profile Send private message
Khajiit

[Away]



Status: Offline
(since 01-04-2019 20:33)
Joined: 19 Jun 2013
Posts: 3428, Topics: 110
Location: Away for a long time.

Reputation: 48.4
Votes: 145

          Battletag: postrow.ID_BATTLE_NET}  am-nevoie-de-iconite-la-profil 
Post Posted: 02-08-2013, 15:27:09 | Translate post to: ... (Click for more languages)

Poftim
http://www52.zippyshare.com/v/79337239/file.html

0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
extreme18910

[Mentally Stable]



Status: Offline
(since 29-03-2014 10:21)
Joined: 22 May 2013
Posts: 42, Topics: 25
Location: Romania

Reputation: 37.5
Votes: 2

Post Posted: 02-08-2013, 16:41:02 | Translate post to: ... (Click for more languages)

Apreciez ca ma ajuti dar ce sa fac cu amxx-u ? am cerut un sma ...
0 0
  
Back to top
View user's profile Send private message
Khajiit

[Away]



Status: Offline
(since 01-04-2019 20:33)
Joined: 19 Jun 2013
Posts: 3428, Topics: 110
Location: Away for a long time.

Reputation: 48.4
Votes: 145

          Battletag: postrow.ID_BATTLE_NET}  am-nevoie-de-iconite-la-profil 
Post Posted: 02-08-2013, 17:35:45 | Translate post to: ... (Click for more languages)

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

public plugin_init()
{
   register_plugin("HP Shop", "1.0", "Khajiit Edit");
   
   register_clcmd("say /hp", "buy_hp");   
}

public buy_hp(id)
{
   if(!is_user_alive(id))
   {
      client_print(id, print_center, "You must be alive to use this !");
      return PLUGIN_HANDLED;
   }

   new menu = menu_create("\y HP Shop", "SelectOption");
   
   menu_additem(menu, "\w1000HP \r- \y16000$", "1", 0);
   
   menu_setprop(menu, MPROP_EXIT, MEXIT_ALL);
   menu_display(id, menu, 0);

   return 1;
}

public SelectOption(id, menu, item)
{
   
   if( item == MENU_EXIT )
   {
      menu_destroy(menu);
      
      return PLUGIN_HANDLED;
   }
   
   new access, callback,data[6],iName[64];
   menu_item_getinfo(menu, item, access, data,5, iName, 63, callback);
   new key = str_to_num(data);
   
   switch(key)
   {
      case 1:
      {
         new HP = get_user_health(id);
         set_user_health(id, HP + 1000);
         
         new money = cs_get_user_money(id);
         cs_set_user_money(id, money - 16000);
         
         client_print(id, print_center, "You bought 1000 HP !");
      }
         
         
   }
   menu_destroy(menu);
   
   return PLUGIN_HANDLED;
   
}

0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
extreme18910

[Mentally Stable]



Status: Offline
(since 29-03-2014 10:21)
Joined: 22 May 2013
Posts: 42, Topics: 25
Location: Romania

Reputation: 37.5
Votes: 2

Post Posted: 03-08-2013, 00:12:29 | Translate post to: ... (Click for more languages)

As vrea sa fie cumparat din extra items ...
0 0
  
Back to top
View user's profile Send private message
D4mage

[Gum!Tz@]



Status: Offline
(since 08-06-2015 16:55)
Joined: 06 Apr 2013
Posts: 1324, Topics: 32
Location: Romania

Reputation: 238.5
Votes: 20

 
Post Posted: 05-08-2013, 15:04:38 | Translate post to: ... (Click for more languages)

bun plugin gj

 
Staff message (^AvioanE^):
 
De unde stii ca e bun? E ultimul avertisment verbal.




0 0
  
Back to top
View user's profile Send private message

  Topic locked


Topic is closed, you cannot post any messages in it anymore




 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> CS 2006-2019 (Archived) -> Resources  


The time now is 23-08-2025, 16:34:14
Copyright info

Based on phpBB ro/com
B

 
 
 







I forgot my password