- 0
Admin problem
-
Similar Content
-
- 1 answer
- 430 views
-
- 0 answers
- 623 views
-
- 1 answer
- 541 views
-
- 1 answer
- 1,034 views
-
- 5 replies
- 620 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
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
Link to comment
Share on other sites
5 answers to this question
Recommended Posts