Raised This Month: $ Target: $400
 0% 

cs_set_user_bpammo what is bad ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
~Ice*shOt
Veteran Member
Join Date: Mar 2009
Location: Lithuania
Old 05-16-2009 , 16:07   cs_set_user_bpammo what is bad ?
Reply With Quote #1

PHP Code:
public fw_PlayerSpawn_Post(id)
{
switch (
PlayerLevel[id])
{
case 
0:
{
give_item (id"weapon_glock18"); 
cs_set_user_bpammo(id,glock18,1000)

case 
1

give_item (id"weapon_usp"); 
cs_set_user_bpammo(id,usp,1000)

case 
2

give_item (id"weapon_p228"); 
cs_set_user_bpammo(id,p228,1000)

case 
3

give_item (id"weapon_fiveseven");
cs_set_user_bpammo(id,fiveseven,1000)

case 
4

give_item (id"weapon_deagle");
cs_set_user_bpammo(id,deagle,1000)

case 
5

give_item (id"weapon_elite");
cs_set_user_bpammo(id,elite,1000)

case 
6

give_item (id"weapon_tmp"); 
set_user_bpammo(id,tmp,1000)
}
case 
7

give_item (id"weapon_mac10");
cs_set_user_bpammo(id,mac10,1000)

case 
8

give_item (id"weapon_ump45");
cs_set_user_bpammo(id,ump45,1000)

case 
9

give_item (id"weapon_mp5navy");
cs_set_user_bpammo(id,mp5navy,1000)

case 
10

give_item (id"weapon_p90");
cs_set_user_bpammo(id,p90,1000)

case 
11

give_item (id"weapon_famas");
cs_set_user_bpammo(id,famas,1000)

case 
12

give_item (id"weapon_galil");
cs_set_user_bpammo(id,galil,1000)

case 
13

give_item (id"weapon_m3");
cs_set_user_bpammo(id,m3,1000)

case 
14

give_item (id"weapon_ak47");
cs_set_user_bpammo(id,ak47,1000)

case 
15

give_item (id"weapon_m4a1");
cs_set_user_bpammo(id,m4a1,1000)

case 
16:
{
give_item (id"weapon_sg550");
cs_set_user_bpammo(id,sg550,1000)

case 
17

give_item (id"weapon_g3sg1");
cs_set_user_bpammo(id,g3sg1,1000)

case 
18

give_item (id"weapon_sg552");
cs_set_user_bpammo(id,sg552,1000)

what is bad with this code ? or all line's it's good ?
~Ice*shOt is offline
Send a message via Skype™ to ~Ice*shOt
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 05-16-2009 , 16:14   Re: cs_set_user_bpammo what is bad ?
Reply With Quote #2

all line's it's bad.
__________________
xPaw is offline
minimiller
Veteran Member
Join Date: Aug 2007
Location: United Kingdom
Old 05-16-2009 , 16:14   Re: cs_set_user_bpammo what is bad ?
Reply With Quote #3

test it and see?
__________________
minimiller is offline
Send a message via MSN to minimiller
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 05-16-2009 , 16:14   Re: cs_set_user_bpammo what is bad ?
Reply With Quote #4

error please?

& maybe MAYBE u forgot cstrike module to include

i dont have studio
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-16-2009 , 16:56   Re: cs_set_user_bpammo what is bad ?
Reply With Quote #5

Quote:
Originally Posted by One View Post
i dont have studio

What does that have to do with anything?
__________________
fysiks is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 05-16-2009 , 17:04   Re: cs_set_user_bpammo what is bad ?
Reply With Quote #6

Quote:
Originally Posted by fysiks View Post
What does that have to do with anything?
He probably relies on the default highlighting of the studio.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Metanabol
Member
Join Date: Feb 2009
Old 05-16-2009 , 17:08   Re: cs_set_user_bpammo what is bad ?
Reply With Quote #7

ice-show scripting with microsoft office + paint.
Metanabol is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 05-16-2009 , 16:18   Re: cs_set_user_bpammo what is bad ?
Reply With Quote #8

PHP Code:
cs_set_user_bpammoidCSW_*, 100 );

// ex.

cs_set_user_bpammoidCSW_GLOCK100 ); 
__________________
xPaw is offline
minimiller
Veteran Member
Join Date: Aug 2007
Location: United Kingdom
Old 05-16-2009 , 18:08   Re: cs_set_user_bpammo what is bad ?
Reply With Quote #9

it might help if you didnt post the same code in a new thread
keep it all in one please
(http://forums.alliedmods.net/showthread.php?t=92534)
__________________
minimiller is offline
Send a message via MSN to minimiller
~Ice*shOt
Veteran Member
Join Date: Mar 2009
Location: Lithuania
Old 05-17-2009 , 02:45   Re: cs_set_user_bpammo what is bad ?
Reply With Quote #10

THX, xPaw
~Ice*shOt is offline
Send a message via Skype™ to ~Ice*shOt
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 01:26.


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