[HELP] HP and ARMOR to everyone - 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: [HELP] HP and ARMOR to everyone (
/showthread.php?tid=144297)
[HELP] HP and ARMOR to everyone -
andershh - 26.04.2010
How can i make an /sethp or /setarmor command that gives free armor and hp to everyone with one command?
Like,
Re: [HELP] HP and ARMOR to everyone -
[MWR]Blood - 26.04.2010
pawn Код:
if(strcmp(cmdtext,"/armourhp",true)==0)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
PlayerPlaySound(i,1057,0.0,0.0,0.0);
SetPlayerArmour(i,100.0);
SetPlayerHealth(i,100.0);
}
return 1;
}
Re: [HELP] HP and ARMOR to everyone -
andershh - 26.04.2010
THANKS!