- 0
Admin problem
-
Similar Content
-
- 0 replies
- 355 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
Alexica721
Bun-Seara
am o problema la comanda "healall"
[pawn]
dcmd_healall(playerid,params[])
{
#pragma unused params
if(AccInfo[playerid][Level] >= 3)
{
SendCommandToAdmins(playerid,"HealAll");
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) && (i != playerid) && i != ServerInfo[MaxAdminLevel])
{
PlayerPlaySound(i,1057,0.0,0.0,0.0); SetPlayerHealth(i,100.0);
}
}
new string[128];
format(string,sizeof(string),"|- Administrator \"%s\" has Healed all players -|", pName(playerid));
return SendClientMessageToAll(blue, string);
}
else return ErrorMessages(playerid, 6);
}
[/pawn]
Arata doar k Adminul cutare a dat viata tuturor.
Problema o intampin si la celalalte comenzi (spawnall,armourall,etc..)
M-am lasat de comunitatea sa-mp.ro
5 answers to this question
Recommended Posts