View Single Post
doroemon
Senior Member
Join Date: Dec 2009
Location: TF2 AFK Server
Old 12-04-2019 , 14:20   Re: Bat's Collection of Stuff
Reply With Quote #8

Quote:
Originally Posted by Batfoxkid View Post
Code:
	char abilityName[MAXABILITYNAME];
	Format(abilityName, MAXABILITYNAME, "%s%i", ABILITY);
	FF2_SetBossCharge(boss, 0, FF2_GetBossCharge(boss, 0)+FF2_GetAbilityArgument(boss, this_plugin_name, abilityName, 1005));
Looks like I messed up here and needed to replace this line with:
Format(abilityName, MAXABILITYNAME, "%s%i", ABILITY, abililty);

(I should really remake this plugin when I get the chance.)
It seem is working now,thanks a lot!
__________________
I'm just a guy who's a server operator for fun.
https://steamcommunity.com/groups/cfmsg
doroemon is offline