Raised This Month: $ Target: $400
 0% 

give a shield


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Toastt
BANNED
Join Date: Nov 2009
Old 03-14-2010 , 23:33   give a shield
Reply With Quote #1

how do i give all players a shield?
Toastt is offline
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 03-14-2010 , 23:38   Re: give a shield
Reply With Quote #2

For loop and give each one a shield.
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
Toastt
BANNED
Join Date: Nov 2009
Old 03-14-2010 , 23:40   Re: give a shield
Reply With Quote #3

no i mean like, whats the name?

like deagle is deagle
glock is glock18 (i think XD)
etc..
Toastt is offline
Old 03-14-2010, 23:43
lucas_7_94
This message has been deleted by lucas_7_94. Reason: weapon_shield o.O ?
Toastt
BANNED
Join Date: Nov 2009
Old 03-14-2010 , 23:44   Re: give a shield
Reply With Quote #4

is that really it ? o.O
Toastt is offline
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 03-14-2010 , 23:47   Re: give a shield
Reply With Quote #5

Did you even try testing/looking for it?

It's as simple as trial and error, don't just come to the forums with a little question such as this. I'm sure it would've easily been attainable by searching. Use some common sense please.
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
grimvh2
Veteran Member
Join Date: Nov 2007
Location: Fishdot Nation
Old 03-15-2010 , 13:31   Re: give a shield
Reply With Quote #6

Wrecked is right, you should search first.

Anyway the name is "weapon_shield" (thats way to obviously) then loop all players

PHP Code:
new players[32],num
get_players
(players,num,"ac")
// Im not sure but "a" should be alive and "c" no bots
for(new i=0;i<num;i++)
{
    
give_item(players[i],"weapon_shield")

__________________
I am out of order!
grimvh2 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-15-2010 , 13:59   Re: give a shield
Reply With Quote #7

http://wiki.amxmodx.org/CS_Weapons_Information
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 03-15-2010 , 18:29   Re: give a shield
Reply With Quote #8

why would you do that instead of just doing it at player spawn?
Doc-Holiday is offline
Seta00
The Seta00 user has crashed.
Join Date: Jan 2010
Location: Berlin
Old 03-16-2010 , 10:12   Re: give a shield
Reply With Quote #9

Because you can control the moment when users will receive their shields.
Seta00 is offline
Reply


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 08:41.


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