Raised This Month: $ Target: $400
 0% 

2 questions


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Spin7ion
Junior Member
Join Date: Dec 2007
Old 07-20-2008 , 02:54   2 questions
Reply With Quote #1

Hi!
First:How remove user shadow
Second:How disalow user to pick up weapons?
Spin7ion is offline
hzqst
Senior Member
Join Date: Jul 2008
Old 07-20-2008 , 03:51   Re: 2 questions
Reply With Quote #2

1st: settings --multiplayer --.....advanced -- Open the player shadow
you can also find it in cfg files
2:strip user's weapons then he won't be able to pick up any weapons(except HE,smoke,flashbang)
hzqst is offline
Spin7ion
Junior Member
Join Date: Dec 2007
Old 07-20-2008 , 04:32   Re: 2 questions
Reply With Quote #3

1) with amx in game?
2)no! i strip, give them knives, and they can pick up weapons from ground
Spin7ion is offline
hzqst
Senior Member
Join Date: Jul 2008
Old 07-20-2008 , 04:49   Re: 2 questions
Reply With Quote #4

1
new i
for (i=0;i<=get_maxplayers(); i++)
if(is_user_connected(id))
client_cmd(id,cl_shadows 0)


2 CurWeapon --- ↓
if(xxxx)

Quote:
new parm[2]
parm[0] = id
set_task(1.0,"strip",0,parm,2)

Quote:
public strip(parm[]) {
new id = parm[0]
strip_user_weapons(id)
give_item(id,"weapon_knife")
}

Last edited by hzqst; 07-20-2008 at 04:56.
hzqst is offline
Spin7ion
Junior Member
Join Date: Dec 2007
Old 07-20-2008 , 05:18   Re: 2 questions
Reply With Quote #5

But how it works in zombie mod?
is there a timer?
Spin7ion is offline
hzqst
Senior Member
Join Date: Jul 2008
Old 07-20-2008 , 07:27   Re: 2 questions
Reply With Quote #6

there're many people writing zm mod plugins-_-include me-_-
if terrorists are zms .CTs are humans
Quote:
new clip,ammo
new weapon = get_user_weapon(id,clip,ammo)
if(get_user_team(id) == 1 && wep=29)
new parm[2]
parm[0] = id
set_task(1.0,"strip",0,parm,2)
hzqst is offline
Spin7ion
Junior Member
Join Date: Dec 2007
Old 07-20-2008 , 13:44   Re: 2 questions
Reply With Quote #7

Can you explain me this code? plz
Spin7ion is offline
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 11:43.


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