AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   HnS New Block gives Weapon 2 shots (https://forums.alliedmods.net/showthread.php?t=86907)

svartis 03-04-2009 05:11

HnS New Block gives Weapon 2 shots
 
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 :oops:

Exolent[jNr] 03-04-2009 12:09

Re: HnS New Block gives Weapon 2 shots
 
Search for my Weapon Chance plugin and you will see how I set certain clip and backpack ammo in the weapons that were given.

svartis 03-11-2009 00:57

Re: HnS New Block gives Weapon 2 shots
 
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. :)

Lchriaz 03-11-2009 01:43

Re: HnS New Block gives Weapon 2 shots
 
yes, i wanna know too :)

Exolent[jNr] 03-11-2009 07:37

Re: HnS New Block gives Weapon 2 shots
 
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.

Lchriaz 03-11-2009 09:21

Re: HnS New Block gives Weapon 2 shots
 
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 ?



Hibiki_XD 03-28-2009 13:48

Re: HnS New Block gives Weapon 2 shots
 
Quote:

Originally Posted by Lchriaz (Post 778426)
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 :P 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...
}

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

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

Have Fun :D Guys ~

ExeCute 04-21-2009 09:47

Re: HnS New Block gives Weapon 2 shots
 
My friends make like awp blocks to m e:D

xPaw 04-21-2009 09:51

Re: HnS New Block gives Weapon 2 shots
 
Quote:

Originally Posted by ExeCute (Post 810753)
My friends make like awp blocks to m e:D

I dont want to start an another flood theard, but Who cares? dont quote this please -_-'

SnoW 04-21-2009 09:53

Re: HnS New Block gives Weapon 2 shots
 
Quote:

Originally Posted by ExeCute (Post 810753)
My friends make like awp blocks to m e:D

Quote:

Originally Posted by xPaw (Post 810753)
Who cares?

Edit: Oh btw, sry xPaw. Had to do it.


All times are GMT -4. The time now is 15:29.

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