Difference between revisions of "GiveBonus"
(Created page with " procedure GiveBonus(ID, Bonus: byte); '''Parameter Info:''' ID (Byte): ID of the player. Bonus (Byte): Type of the bonus to give: 1 - Predator 2 - Berserker ...") |
(No difference)
|
Latest revision as of 10:45, 15 August 2012
procedure GiveBonus(ID, Bonus: byte); Parameter Info: ID (Byte): ID of the player. Bonus (Byte): Type of the bonus to give: 1 - Predator 2 - Berserker 3 - Bulletproof vest 4 - Grenades 5 - Cluster grenades Description: Gives the bonus directly to the specified player. No kits are spawned, so this thing always works. You can also give the bonus even if the old effect hasn't ended yet (like with pred) This procedure isn't documented in the eC manual, the IDs are got experimentally. Also note, that you can't give a medkit using this function (afaik), you can instead do negative damage with the DoDamage procedure.