26.04.2010, 15:27
How can i make an /sethp or /setarmor command that gives free armor and hp to everyone with one command?
Like,
Like,
Код:
/armorhp
/armorhp
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;
}