-- APPROVED --
I quickly tested it and it works like it should.
You're not using any of the following functions though , so it's safe to
remove them from the source code:
Code:
// Prints a chat message to all players
public PrintChatAll(const String:message[]) {
PrintToChatAll("\x04%s \x01%s",PLUGIN_TAG,message)
}
// Gets the players health
public DodGetPlayerHealth(client) {
return GetEntProp(client,Prop_Send,"m_iHealth")
}
// Gets the current weapon
public DodGetPlayerCurrentWeapon(client) {
return GetEntPropEnt(client,Prop_Send,"m_hActiveWeapon")
}
// Removes a weapon of a given slot
public DodRemovePlayerWeapon(client,slot) {
new entity = GetPlayerWeaponSlot(client, slot)
if(entity != -1) {
RemovePlayerItem(client,entity)
}
}
// Removes all the players weapons
public DodRemovePlayerWeapons(client) {
for(new i=0; i < 4; i++) {
DodRemovePlayerWeapon(client,i)
}
}
Furthermore I noticed that you're just setting the health to 100
if "Extra health" was selected, that's fine if you have less than 100hp,
but if your health is already full, you basically waste that bonus
Other than that, nice plugin!