20.10.2012, 06:51
PHP код:
if(!strcmp(cmdtext, "/vidatodos", true)){
static
Interator
;
Interator = GetMaxPlayers();
for( ; Interator > -1 ; --Interator){
if(IsPlayerConnected(Interator)){
SetPlaeyrHealth(Interator, 100);
}
}
SendClientMessageToAll(-1,"Um administrador deu vida hб todos");
return true;
}
if(!strcmp(cmdtext, "/coletetodos", true)){
static
Interator
;
Interator = GetMaxPlayers();
for( ; Interator > -1 ; --Interator){
if(IsPlayerConnected(Interator)){
SetPlayerArmour(Interator, 100);
}
}
SendClientMessageToAll(-1,"Um administrador deu colete hб todos");
return true;
}