Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ItsGunGame by AZUMIKKEL
#1
hi guys, i was wondering if you could help me with something. i am trying to edit something on AZUMIKKEL itsgungame mod. on the power up i am trying to get rid of the crawler and replace it with Tomahawk. here is what the script says:

case 8: // CRAWLER | KNOCKFRONT
if(V == "CRAWLER")
{
self thread Speed(8);
self thread Weapon("creek_knife_sp");
for(;;)
{
self setStance("prone");
wait 0.05;
}

i am trying to get rid of the prone and just have him walking with the knife and a tomahawk( about 50 tomahawk )
i tried this :
case 8: // CRAWLER | KNOCKFRONT
if(V == "CRAWLER")
{
self thread Speed(8);
offhandPrimary = "hatchet_mp";
self setOffhandPrimaryClass( offhandPrimary );
self giveWeapon( offhandPrimary );
self SetWeaponAmmoClip( offhandPrimary, 10 );
self SetWeaponAmmoStock( offhandPrimary, 1 )
but it dosent work. can anyone tell me the write way to write it so the player has a knife and alot tomahawks. i am new to modding so.. yea :)
Reply

#2
Try this:

Code:
case 8:     // CRAWLER    |    KNOCKFRONT
if(V == "CRAWLER")
{
self thread Speed(8);
offhandPrimary = "hatchet_mp";
self setOffhandPrimaryClass("offhandPrimary");
self giveWeapon("offhandPrimary");
self SetWeaponAmmoClip(offhandPrimary, 10);
self SetWeaponAmmoStock(offhandPrimary, 1);
}
Reply

#3
nope. it doesn't work ):


Attached Files
.rar   mp_ItsGunGame_AZU_03.rar (Size: 1.17 MB / Downloads: 19)
Reply

#4
(02-20-2012, 09:33)surtek Wrote: Try this:

Code:
case 8:     // CRAWLER    |    KNOCKFRONT
if(V == "CRAWLER")
{
self thread Speed(8);
offhandPrimary = "hatchet_mp";
self setOffhandPrimaryClass("offhandPrimary");
self giveWeapon("offhandPrimary");
self SetWeaponAmmoClip(offhandPrimary, 10);
self SetWeaponAmmoStock(offhandPrimary, 1);
}
Maybe remove the " in setOffhandPrimaryClass and giveWeapon?
Would like to make a donation? Click here
Reply

#5
I don't see how you guys don't see the thing he wants:

He only asked about prone removal so no idea why someone would change the entire code and then even encapsulate variable names in "'s.

C++ Code
  1. case 8: // CRAWLER | KNOCKFRONT
  2. if(V == "CRAWLER") {
  3. self thread Speed(8);
  4. self thread Weapon("creek_knife_sp");
  5. }
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
Its My Birthday! Happy birthday, AZUMIKKEL! Party Bot 8 4,484 09-13-2013, 16:24
Last Post: aosma8
  @Azumikkel true identity Arteq 3 2,851 02-24-2013, 13:57
Last Post: 99IRock
Its My Birthday! Happy birthday, AZUMIKKEL! Party Bot 12 6,799 09-15-2012, 12:10
Last Post: aosma8
  R.I.P. Azumikkel Pozzuh 16 8,417 05-05-2012, 20:47
Last Post: zxz0O0
  I HATE YOU AZUMIKKEL !!!!!!!!!!!!!!!! SniperGirl 31 14,614 05-03-2012, 13:49
Last Post: Yamato
  Probably azumikkel? Arteq 6 4,214 03-05-2012, 10:19
Last Post: AZUMIKKEL
  azumikkel on reddit Pozzuh 11 6,220 02-12-2012, 07:52
Last Post: Pozzuh
  Azumikkel is a kat! Lemon 3 2,884 01-21-2012, 23:20
Last Post: AZUMIKKEL
  @Azumikkel Arteq 6 3,574 01-21-2012, 12:23
Last Post: Rendflex
  Azumikkel's drawing session AZUMIKKEL 18 8,497 12-31-2011, 00:11
Last Post: AZUMIKKEL

Forum Jump:


Users browsing this thread:
2 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.