Thread
:
[L4D2] Charger mid-charge buff
View Single Post
berni
SourceMod Plugin Approver
Join Date: May 2007
Location: Austria
03-28-2010 , 15:58 Re: [L4D2] Charge Assurance
#
7
I've seen that when you have bots in your team, they sometime spawn with the same characters, 2 hunters, or 2 chargers at same time, this only seems to happen with bots, and it's also incompatible with other sourcemod plugins that enable you to have multiple chargers at a time.
You can make a global variable for each player:
new bool:done[MAXPLAYERS] = { false, ... };
public OnClientPutInServer(client) {
done[client] = false;
}
__________________
Why reinvent the wheel ?
Download smlib
with
over 350
useful functions.
When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter than "Yes"
powered by Core i7 3770k | 32GB DDR3 1886Mhz | 2x Vertex4 SSD Raid0
berni
View Public Profile
Send a private message to berni
Find More Posts by berni