Raised This Month: $ Target: $400
 0% 

[Closed] get_user_weapons


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Riddick51
BANNED
Join Date: Jul 2005
Location: Lincoln, Nebr US
Old 08-25-2005 , 06:17   [Closed] get_user_weapons
Reply With Quote #1

Question: how do i use the get_user_weapons() function?

Code:
loop thru all 32 players weap = get_user_weapons(iplayer,x,y) check_primaryweap() { //i'll use a case insted of the "if" below for removing m4a1, ak47,..... if (prim_weapon == 28)       //is ak47?    client_print(llama,print_center,"Request Denied.")    client_cmd(llama,"weapon_ak47;wait;wait;wait;drop") end-if return PLUGIN_CONTINUE } public plugin_init(){    register_plugin("Drop Non-LRRifle","0.1","SuicideDog")    register_event("WeapPickup","check_primaryweap","b","1=28")    register_cvar("sv_lrrifle","0")    return PLUGIN_CONTINUE }
Riddick51 is offline
Send a message via AIM to Riddick51 Send a message via MSN to Riddick51 Send a message via Yahoo to Riddick51
 



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 14:30.


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