Raised This Month: $7 Target: $400
 1% 

Custom Start Weapons ( 24/02/2014 )


Post New Thread Reply   
 
Thread Tools Display Modes
Lyklor
Junior Member
Join Date: Apr 2013
Location: Belgium
Old 09-17-2018 , 10:50   Re: Custom Start Weapons ( 24/02/2014 )
Reply With Quote #61

Quote:
Originally Posted by Bad gamer View Post
I get this message when clicking on "Get Plugin":

Code:
Plugin failed to compile! Please try contacting the author.

Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

/home/forums/content/files/2/0/6/5/6/7/130103.attach(233) : error 017: undefined symbol "set_pdata_bool"
/home/forums/content/files/2/0/6/5/6/7/130103.attach(284) : error 088: number of arguments does not match definition

2 Errors.
Could not locate output file /home/groups/amxmodx/public_html/compiled3/130103.amx (compile failed).
Compile it locally.
Lyklor is offline
tarsisd2
Veteran Member
Join Date: Feb 2016
Location: brazil
Old 09-24-2018 , 14:58   Re: Custom Start Weapons ( 24/02/2014 )
Reply With Quote #62

i like the idea of this plugin, would be great if there as an option to give random pistols as default on spawn
tarsisd2 is offline
Gippo
AlliedModders Donor
Join Date: Oct 2008
Old 11-04-2018 , 04:08   Re: Custom Start Weapons ( 24/02/2014 )
Reply With Quote #63

wont let me dl
Gippo is offline
Blizzard_87
Veteran Member
Join Date: Oct 2012
Old 11-14-2018 , 21:50   Re: Custom Start Weapons ( 24/02/2014 )
Reply With Quote #64

Quote:
Originally Posted by Gippo View Post
wont let me dl
Quote:
Originally Posted by Lyklor View Post
Compile it locally.
you have to download the sma file and compile it locally with amx 1.8.3 builds

it explains all that in first post.
__________________
Blizzard_87 is offline
Blizzard_87
Veteran Member
Join Date: Oct 2012
Old 11-14-2018 , 21:52   Re: Custom Start Weapons ( 24/02/2014 )
Reply With Quote #65

Quote:
Originally Posted by tarsisd2 View Post
i like the idea of this plugin, would be great if there as an option to give random pistols as default on spawn
I like your random pistol idea...

If i ever get back into AMXX Coding i'll look into adding that feature...

unless another coder/dev wants to add that feature and i'll add the file as a new version with the random pistol feature.
__________________
Blizzard_87 is offline
Loliboly
New Member
Join Date: Oct 2020
Old 10-10-2020 , 18:49   Re: Custom Start Weapons ( 24/02/2014 )
Reply With Quote #66

The plugin fails to compile.help
Loliboly is offline
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 10-11-2020 , 04:20   Re: Custom Start Weapons ( 24/02/2014 )
Reply With Quote #67

Code:
//AMXXPC compile.exe
// by the AMX Mod X Dev Team


//// Custom-Start-Weapons.sma
//
// Header size:           1424 bytes
// Code size:             5976 bytes
// Data size:             2056 bytes
// Stack/heap size:      16384 bytes
// Total requirements:   25840 bytes
// Done.
//
// Compilation Time: 0,33 sec
// ----------------------------------------

Press enter to exit ...
Compiles fine here.
__________________

Mordekay is offline
tarsisd2
Veteran Member
Join Date: Feb 2016
Location: brazil
Old 10-30-2020 , 14:31   Re: Custom Start Weapons ( 24/02/2014 )
Reply With Quote #68

in regame now you can do this and a lot more without plugin you can set cvars the way you want for all weapons

PHP Code:
// The default primary (rifle) weapon that the Ts will spawn with.
// Usage: "awp m4a1 mp5navy"
//
// Default value: ""
mp_t_default_weapons_primary ""

// The default secondary (pistol) weapon that the Ts will spawn with.
//
// Default value: "glock18"
mp_t_default_weapons_secondary "glock18"

// The default grenades that the CTs will spawn with.
// Usage: "hegrenade flash sgren"
//
// Default value: ""
mp_ct_default_grenades ""

// Whether Counter-Terrorist player spawn with knife.
// 0 - disabled
// 1 - enabled (default behaviour)
//
// Default value: "1"
mp_ct_give_player_knife 1

// The default primary (rifle) weapon that the CTs will spawn with.
// Usage: "awp m4a1 mp5navy"
//
// Default value: ""
mp_ct_default_weapons_primary ""

// The default secondary (pistol) weapon that the CTs will spawn with.
//
// Default value: "usp"
mp_ct_default_weapons_secondary "usp" 
you can use config per map too if you want different weapons in different maps
tarsisd2 is offline
Siska1
Senior Member
Join Date: Feb 2020
Location: BedRock
Old 12-06-2021 , 06:09   Re: Custom Start Weapons ( 24/02/2014 )
Reply With Quote #69

Quote:
Originally Posted by tarsisd2 View Post
in regame now you can do this and a lot more without plugin you can set cvars the way you want for all weapons

PHP Code:
// The default primary (rifle) weapon that the Ts will spawn with.
// Usage: "awp m4a1 mp5navy"
//
// Default value: ""
mp_t_default_weapons_primary ""

// The default secondary (pistol) weapon that the Ts will spawn with.
//
// Default value: "glock18"
mp_t_default_weapons_secondary "glock18"

// The default grenades that the CTs will spawn with.
// Usage: "hegrenade flash sgren"
//
// Default value: ""
mp_ct_default_grenades ""

// Whether Counter-Terrorist player spawn with knife.
// 0 - disabled
// 1 - enabled (default behaviour)
//
// Default value: "1"
mp_ct_give_player_knife 1

// The default primary (rifle) weapon that the CTs will spawn with.
// Usage: "awp m4a1 mp5navy"
//
// Default value: ""
mp_ct_default_weapons_primary ""

// The default secondary (pistol) weapon that the CTs will spawn with.
//
// Default value: "usp"
mp_ct_default_weapons_secondary "usp" 
you can use config per map too if you want different weapons in different maps
How can i put certain weapons only on one specific map with regamedll ?
Siska1 is offline
Send a message via Skype™ to Siska1
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 03:36.


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