Raised This Month: $ Target: $400
 0% 

no-snap (why they don't work)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Parchatek
Junior Member
Join Date: Feb 2007
Location: In Breslau
Old 02-01-2007 , 08:27   no-snap (why they don't work)
Reply With Quote #1

Hello, it's my first plugins and i don't know why they don't work.
Quote:

#include <amxmodx>
#include <amxmisc>
#include <fun>

#define PLUGIN "no-snap"
#define VERSION "1.0"
#define AUTHOR "Parchatek-b.pasz"


public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event("WeapPickup", "pod_bron", "be")
// Add your code here...
}
public pod_bron() {
//new gracze[32]
new i=1
new id_bron
new a,b
while (i++ <=32)
{
id_bron=get_user_weapon (i,a,b)
if (id_bron==CSW_AWP || id_bron==CSW_SCOUT) {
strip_user_weapons(i)
client_print(i,print_chat,"wywal ta snajpere")
}



}


return PLUGIN_HANDLED
}
Parchatek is offline
Send a message via Skype™ to Parchatek
 


Thread Tools
Display Modes

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 00:44.


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