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

HnS New Block gives Weapon 2 shots


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
svartis
Junior Member
Join Date: Dec 2007
Old 03-04-2009 , 05:11   HnS New Block gives Weapon 2 shots
Reply With Quote #1

hi i got an Hns server and got blockmaker v4.0 and know how to make new blocks that already are there. but not an block that gives you a weapon like awp with 2 shots, Deagle with 3 shots. im not any good at writing codes in amx so i was wondering if anyone could help me learn this by explaining how? would be very greatful if you would teach me this or atleast help me alittle
svartis is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 03-04-2009 , 12:09   Re: HnS New Block gives Weapon 2 shots
Reply With Quote #2

Search for my Weapon Chance plugin and you will see how I set certain clip and backpack ammo in the weapons that were given.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
svartis
Junior Member
Join Date: Dec 2007
Old 03-11-2009 , 00:57   Re: HnS New Block gives Weapon 2 shots
Reply With Quote #3

but im looking for an guid on how to add blocks that give you this instead already tried youre pluing it as great but i would more prefer an block that gives you it.
svartis is offline
Lchriaz
Senior Member
Join Date: Nov 2008
Location: Venezuelaa - Anzoategui
Old 03-11-2009 , 01:43   Re: HnS New Block gives Weapon 2 shots
Reply With Quote #4

yes, i wanna know too
Lchriaz is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 03-11-2009 , 07:37   Re: HnS New Block gives Weapon 2 shots
Reply With Quote #5

Just make a new block type, and then use my Weapon Chance code to give the weapon.
I wasn't suggesting to use my Weapon Chance plugin by itself.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Lchriaz
Senior Member
Join Date: Nov 2008
Location: Venezuelaa - Anzoategui
Old 03-11-2009 , 09:21   Re: HnS New Block gives Weapon 2 shots
Reply With Quote #6

Hmmm, ook ty

i gonna Try it

EDIT:

I dont know

see

In models
new const gszBlockModelPrueba[] = "models/blockmaker/bm_block_autobhop.mdl";
In Names
BM_PRUEBA

In Default models
gszBlockModels[BM_PRUEBA] = gszBlockModelPrueba;

In model Path

else if (equal(szType, "PRUEBA")) blockType = BM_PRUEBA;

And that give me 8 errors

Any help ?



Last edited by Lchriaz; 03-11-2009 at 09:41.
Lchriaz is offline
Hibiki_XD
Member
Join Date: Jan 2008
Old 03-28-2009 , 13:48   Re: HnS New Block gives Weapon 2 shots
Reply With Quote #7

Quote:
Originally Posted by Lchriaz View Post
Hmmm, ook ty

i gonna Try it

EDIT:

I dont know

see

In models
new const gszBlockModelPrueba[] = "models/blockmaker/bm_block_autobhop.mdl";
In Names
BM_PRUEBA

In Default models
gszBlockModels[BM_PRUEBA] = gszBlockModelPrueba;

In model Path

else if (equal(szType, "PRUEBA")) blockType = BM_PRUEBA;

And that give me 8 errors

Any help ?


yes u forgot... put the ActionPrueba(id); or (id, false); whatever...
and u forgot put the script.... should the block do.... example...

actionPrueba(id);
{
%%%%%%5... ETC...
}

u and for save it u should find it in the last of the plugin and compile it

HAVE FUN ~
-Index Blockmaker 1.3:
Added: Duck, Delayed, Grenade, Trampoline
Deleted: All Sprites ~

Have Fun Guys ~
__________________
This is me Server Hide-n-Seek
[OFFLINE]
Hibiki_XD is offline
ExeCute
BANNED
Join Date: Apr 2009
Old 04-21-2009 , 09:47   Re: HnS New Block gives Weapon 2 shots
Reply With Quote #8

My friends make like awp blocks to m e
ExeCute is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 04-21-2009 , 09:51   Re: HnS New Block gives Weapon 2 shots
Reply With Quote #9

Quote:
Originally Posted by ExeCute View Post
My friends make like awp blocks to m e
I dont want to start an another flood theard, but Who cares? dont quote this please -_-'
__________________
xPaw is offline
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 04-21-2009 , 09:53   Re: HnS New Block gives Weapon 2 shots
Reply With Quote #10

Quote:
Originally Posted by ExeCute View Post
My friends make like awp blocks to m e
Quote:
Originally Posted by xPaw View Post
Who cares?
Edit: Oh btw, sry xPaw. Had to do it.
SnoW is offline
Send a message via MSN to SnoW
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 09:27.


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