Raised This Month: $51 Target: $400
 12% 

Random Weapons, UPDATE 31-07-2006


Post New Thread Reply   
 
Thread Tools Display Modes
Deviance
Veteran Member
Join Date: Nov 2004
Location: Sweden
Old 04-17-2007 , 17:40   Re: Random Weapons, UPDATE 31-07-2006
Reply With Quote #21

Quote:
Originally Posted by sytremelaker View Post
Sorry for being a little impatient, just got worried that you forgot about this plugin.

Do you plan on continuing production?
Sorry i've been busy IRL, here it is
Attached Files
File Type: sma Get Plugin or Get Source (random_weapons.sma - 870 views - 4.8 KB)
Deviance is offline
sytremelaker
Senior Member
Join Date: Jun 2006
Location: Staples Center, Los Ange
Old 04-18-2007 , 02:59   Re: Random Weapons, UPDATE 31-07-2006
Reply With Quote #22

It doesn't seem to compile properly.

Code:
/home/groups/alliedmodders/forums/files/2/9/0/1/15546.attach(114) : error 017: undefined symbol "weapon"
/home/groups/alliedmodders/forums/files/2/9/0/1/15546.attach(114) : warning 215: expression has no effect
/home/groups/alliedmodders/forums/files/2/9/0/1/15546.attach(114) : error 001: expected token: ";", but found "]"
/home/groups/alliedmodders/forums/files/2/9/0/1/15546.attach(114) : error 029: invalid expression, assumed zero
/home/groups/alliedmodders/forums/files/2/9/0/1/15546.attach(114) : fatal error 107: too many error messages on one line
__________________
@ PC Shop Gaming
LetShannonDunk.com - 2010 All-Star Dunk Contest hopeful!

Last edited by sytremelaker; 04-18-2007 at 03:12.
sytremelaker is offline
Send a message via AIM to sytremelaker
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-18-2007 , 04:19   Re: Random Weapons, UPDATE 31-07-2006
Reply With Quote #23

Quote:
Originally Posted by sytremelaker View Post
It doesn't seem to compile properly.

Code:
/home/groups/alliedmodders/forums/files/2/9/0/1/15546.attach(114) : error 017: undefined symbol "weapon"
/home/groups/alliedmodders/forums/files/2/9/0/1/15546.attach(114) : warning 215: expression has no effect
/home/groups/alliedmodders/forums/files/2/9/0/1/15546.attach(114) : error 001: expected token: ";", but found "]"
/home/groups/alliedmodders/forums/files/2/9/0/1/15546.attach(114) : error 029: invalid expression, assumed zero
/home/groups/alliedmodders/forums/files/2/9/0/1/15546.attach(114) : fatal error 107: too many error messages on one line
Try this.

By default you get weapons 1,5 sec after you spawn.

You can change in the .sma file : #define TIME_AFTER_SPAWN 1.5

Also it's a little improved version. Now player's spawn is detected properly. (tutorial by VEN). All weapons are stripped at each new spawn to get random weapons. (so you can be sure to have a new weapons at each spawn.)
Attached Files
File Type: sma Get Plugin or Get Source (random_weapons.sma - 976 views - 5.4 KB)
__________________

Last edited by Arkshine; 04-18-2007 at 04:28.
Arkshine is offline
sytremelaker
Senior Member
Join Date: Jun 2006
Location: Staples Center, Los Ange
Old 04-18-2007 , 05:04   Re: Random Weapons, UPDATE 31-07-2006
Reply With Quote #24

Okay thanks, I'll be sure to test it asap.
__________________
@ PC Shop Gaming
LetShannonDunk.com - 2010 All-Star Dunk Contest hopeful!
sytremelaker is offline
Send a message via AIM to sytremelaker
sytremelaker
Senior Member
Join Date: Jun 2006
Location: Staples Center, Los Ange
Old 08-07-2007 , 22:45   Re: Random Weapons, UPDATE 31-07-2006
Reply With Quote #25

If someone could add to what arkshine modified to this plugin, a cvar or possibily a cfg file that controls the type of weapons a player can get on respawn? I still want it to be random, I just need someone to make it so i can control what weapons can be loaded out and what can't.
__________________
@ PC Shop Gaming
LetShannonDunk.com - 2010 All-Star Dunk Contest hopeful!
sytremelaker is offline
Send a message via AIM to sytremelaker
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-07-2007 , 23:00   Re: Random Weapons, UPDATE 31-07-2006
Reply With Quote #26

Quote:
Originally Posted by sytremelaker View Post
If someone could add to what arkshine modified to this plugin, a cvar or possibily a cfg file that controls the type of weapons a player can get on respawn? I still want it to be random, I just need someone to make it so i can control what weapons can be loaded out and what can't.
I will try asap, sytremelaker.
__________________
Arkshine is offline
sytremelaker
Senior Member
Join Date: Jun 2006
Location: Staples Center, Los Ange
Old 08-08-2007 , 17:14   Re: Random Weapons, UPDATE 31-07-2006
Reply With Quote #27

Awesome, I'd really appreciate it.
__________________
@ PC Shop Gaming
LetShannonDunk.com - 2010 All-Star Dunk Contest hopeful!
sytremelaker is offline
Send a message via AIM to sytremelaker
joseph
Junior Member
Join Date: Sep 2007
Old 09-09-2007 , 22:14   Re: Random Weapons, UPDATE 31-07-2006
Reply With Quote #28

uhh...does this work for like knife maps like 35hp and others?
joseph is offline
Old 11-30-2007, 08:53
franzcis066
This message has been deleted by franzcis066. Reason: Fixed
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 11-30-2007 , 09:15   Re: Random Weapons, UPDATE 31-07-2006
Reply With Quote #29

@franzcis066 :

I started some times ago to rewrite this plugin with more features. But it's not finished yet. Actually, I'm working on several others plugins. Well, I'm thinking to release a plugin soon , after that I will resume what I've started for this one. So, be patient please. ;)
__________________
Arkshine is offline
franzcis066
Member
Join Date: Nov 2007
Old 01-03-2008 , 12:55   Re: Random Weapons, UPDATE 31-07-2006
Reply With Quote #30

*Fixed the C4 stripping
*Can only randomize weapon if the player has glock18 or usp on respawn.
You must have hamsandwich module on!

Thanks to Deviance and Arkshine
And also Thanks to Avalanche for the ham_strip_weapon stock

I Still can't fix the VIP thing, can someone help me?
Attached Files
File Type: sma Get Plugin or Get Source (random_weapons.sma - 1022 views - 7.7 KB)
File Type: amxx random_weapons.amxx (10.5 KB, 205 views)

Last edited by franzcis066; 01-03-2008 at 16:53.
franzcis066 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 21:53.


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