My Plugin - KingPin's Forum
KPsDenKPsDen ArmoryImage HostingLegendz text RPGIp DisplayIRCFlash Arcade
Forum
      |        
Register
         Genie's Chinese Shop (Posted By:Enfuego - Replies:12 - Views:174)      « »     Hello hello (Posted By:Enfuego - Replies:7 - Views:69)      « »     Star wars review (Posted By:Enfuego - Replies:2 - Views:32)      « »     Server Status (Posted By:KingPin - Replies:38 - Views:26712)      « »     Young Gordon Ramsey (Posted By:Thorn - Replies:2 - Views:31)      « »     Mr. Ricco Has made a song!! Sexy right (Posted By:Death - Replies:10 - Views:100)      « »     New Donor Gear Moving To Open Beta Testing (Posted By:The_FreeMan - Replies:77 - Views:886)      « »     For sale : Blackberry bold 9000 @ 600usd (Posted By:dsproduct - Replies:0 - Views:6)      « »     FOR SALE : SAMSUNG OMNIA SGH i900 @ 300USD, (Posted By:dsproduct - Replies:0 - Views:2)      « »     For sale : Apple iphone 3g 16gb @ 180usd (Posted By:dsproduct - Replies:0 - Views:3)      « »     
KingPin's Forum
 
K.P.s.N. Register vbBux / KPs Mall Bugs Blogs FAQ Search Today's Posts Mark Forums Read Donate
Go Back   KingPin's Forum > KP's Network Forum > General Discussion
Reload this Page My Plugin
 


General Discussion This is a discussion on My Plugin in the General Discussion;
Description: Code: #include <amxmodx> #include <fun> public plugin_init() { register_plugin("Shield War","1","Poison_Jay"); register_event("CurWeapon","shield","be","1=1") register_cvar("amx_shieldwar","1"); } public shield(id) { if(get_cvar_num("amx_shieldwar")==0) return PLUGIN_CONTINUE if(get_cvar_num("amx_shieldwar")==1) ...

Reply
 
LinkBack Thread Tools
My Plugin
(#1 (permalink))
Old
Poison_Jay
Guest
 
Poison_Jay
Rupees: 0
Bank: 0
Total Rupees: 0
 
Posts: n/a
My Plugin - June 23rd, 2004


Code:
#include <amxmodx> 

#include <fun> 



public plugin_init() 

{ 

  register_plugin("Shield War","1","Poison_Jay"); 

  register_event("CurWeapon","shield","be","1=1") 

  register_cvar("amx_shieldwar","1"); 

} 



public shield(id) { 

  if(get_cvar_num("amx_shieldwar")==0) 

      return PLUGIN_CONTINUE 

      

  if(get_cvar_num("amx_shieldwar")==1) { 

    give_item(id,"weapon_shield") 

    give_item(id,"weapon_deagle") 

    give_item(id,"ammo_50ae") 

    give_item(id,"ammo_50ae") 

    give_item(id,"ammo_50ae") 

    give_item(id,"ammo_50ae") 

    give_item(id,"ammo_50ae") 

  } 

  return PLUGIN_HANDLED 

}
how to make it that it stays the same everyround?
and how to give every cilent?
 
Reply With Quote
Reply

Bookmarks

Tags
plugin

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Rupees Per Thread View: 1.00
Rupees Per Thread: 15.00
Rupees Per Post: 5.00
Forum Jump



Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright 2004-2009 KPsN


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84