Post: Up staffs??
03-19-2016, 02:54 AM #1
DrHackHD
Bounty hunter
(adsbygoogle = window.adsbygoogle || []).push({}); the right script for upgraded staffs please?
with this code i cannot load other maps, it freezes.
how to fix it?

i tried this:

DammiBastonePaP()
{
self GiveWeapon("staff_air_upgraded_zm");
self SwitchToWeapon("staff_air_upgraded_zm");
self GiveMaxAmmo("staff_air_upgraded_zm");
if(GetDvar("mapname") == "zm_tomb")
{
self thread maps/mp/zm_tomb_utility::update_staff_accessories();
}
}
(adsbygoogle = window.adsbygoogle || []).push({});
03-19-2016, 09:05 AM #2
try:

    DammiBastonePaP()
{
if(GetDvar("mapname") == "zm_tomb")
{
self GiveWeapon("staff_air_upgraded_zm");
self SwitchToWeapon("staff_air_upgraded_zm");
self GiveMaxAmmo("staff_air_upgraded_zm");
self thread maps/mp/zm_tomb_utility::update_staff_accessories();
}
}


i dont know much about zombies but if theres anything else related to the staffs in init() like precaches or any other threads they are mentioned in put:

if(GetDvar("mapname") == "zm_tomb")

before them to stop the game from reading it unless its origins

try that Smile
03-28-2016, 01:41 PM #3
DrHackHD
Bounty hunter
is not working SHIIIIIT
03-28-2016, 06:45 PM #4
itsSorrow
In my man cave
Originally posted by drhackhd View Post
is not working shiiiiit


hey no fucking swearing!!!
03-28-2016, 09:09 PM #5
DrHackHD
Bounty hunter
da fuq?
04-03-2016, 03:53 PM #6
DrHackHD
Bounty hunter
anyone???
04-03-2016, 03:58 PM #7
Patrick
League Champion
Originally posted by DrHackHD View Post
anyone???


I assume you will need to do a check so them options only load in the menu when you are on origins, don't do the check in the actual staff function.
04-03-2016, 04:12 PM #8
DrHackHD
Bounty hunter
can you give me the script please?Sal

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo