Armour refill automatic - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Armour refill automatic (
/showthread.php?tid=420125)
Armour refill automatic -
Blackazur - 03.03.2013
Hello, i have an Problem the Problem is that the Armour refill automatic when you get hitted or something, and the Problem with the Weapons is that he switch automatic to the last Weapon and when he switch the Ammo is higher, know everyone an Answer?
Код:
if(pInfo[i][pVipLevel] >= 4)
{
if(team[i] == TEAM_HUMAN)
{
SetPlayerArmour(i,95.0);
GivePlayerWeapon(i,28,700);
GivePlayerWeapon(i,26,100);
GivePlayerWeapon(i,18,20);
GivePlayerWeapon(i,34,500);
}
}