My first script. Thanks to #soldat.devs guys for helping me out.
Script Name: Vest on cap
Script Description Vest, simple
Author: Niko (http://soldatcentral.com/index.php?page=profile&u=104)
Compile Test: (http://soldatcentral.com/images/pass.gif) Passed
Core Version: 2.6.3
Hosted by: Soldat Central - http://soldatcentral.com/ (http://soldatcentral.com/)
Full Description:
This script automatically gives a bulletproof vest to anyone who caps. It also shows a message indicating that you won it.
procedure OnFlagScore(ID, TeamFlag: byte);
begin
GiveBonus(ID, 3);
DrawText(0,'You won a vest by capping',300,RGB(255,255,255),0.10,0,20);
end;
(http://img55.imageshack.us/img55/8866/vestoncapig0.th.png) (http://img55.imageshack.us/my.php?image=vestoncapig0.png)
In game it doesn't say "earnt". It says "won". I was too lazy to make another screenie.
(http://soldatcentral.com/images/download.gif) (http://soldatcentral.com/dl.php?id=81&act=1)
(Size 411 B)
- http://soldatcentral.com/index.php?page=script&f=81 -
** Script hosted by Soldat Central (http://soldatcentral.com/index.php?page=script&f=81)! Please visit the author's script page (http://soldatcentral.com/index.php?page=script&f=81) and Rate this script **