Raised This Month: $ Target: $400
 0% 

no-snap (why they don't work)


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

I tried all codes in this page but anything worked.

Edit:
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")
}
public pod_bron()
{
//new gracze[32]
new i
new id_bron
new a,b
for (i = 0; i < 33; i++)
{
if (is_user_connected(i))
{
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
}


If is doing ONLY (if ((id_bron == CSW_AWP) || (id_bron == CSW_SCOUT))) when map start (i have only knife and pistol) and never after . Why?

Last edited by Parchatek; 02-01-2007 at 17:57.
Parchatek is offline
Send a message via Skype™ to Parchatek
Reply



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