Raised This Month: $ Target: $400
 0% 

Detect shield pickup


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
amxxlover
Junior Member
Join Date: Mar 2010
Old 01-26-2011 , 06:21   Re: Detect shield pickup
Reply With Quote #4

Thanks for the reaction but i have actually no idea how to build the suggestions. I came not further than this.

PHP Code:
#include <amxmodx>

public plugin_init() 
{
    
register_plugin("Plugin Name""Version""Name")
    
register_event("WeapPickup""WeaponPickup""be""1=22""1=28")
    
register_event("WeapPickup""WeaponPickup2""be")


public 
WeaponPickup(id)
{
    
client_print(idprint_chat"the message what will be send to player who pickup m4a1 or ak47")
}

public 
WeaponPickup2(id)
{
    if(
cs_get_user_shield(id))
        
client_print(idprint_chat"the message what will be send to players who pickup shield")

Offtopic but starting a whole new topic is also senseless, can someone explain me where the number 1 stands for in the next line because i saw a plugin what have number 3 instead of 1.
if (!cmd_access(id,level,cid,1))

Last edited by amxxlover; 01-26-2011 at 06:24.
amxxlover is offline
 



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 10:43.


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