HEALTH question - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: HEALTH question (
/showthread.php?tid=222312)
HEALTH question with timer -
boyan96 - 07.02.2011
Can someone give me code when player write /givearmour to give him 100 armour
when player give him armour he to can give him again after one minute
Re: HEALTH question -
fangoth1 - 07.02.2011
you could read some tuts, but here
pawn Код:
if (strcmp("/givearmor", cmdtext, true) == 0)
{
SetPlayerArmour(playerid,100);
SendClientMessage(playerid, COLOR_WHITE, "Your Armor Has been set to 100.");
return 1;
}
Re: HEALTH question -
boyan96 - 07.02.2011
THANK YOU