19.02.2013, 15:22
(
Последний раз редактировалось RuthlessThuG; 19.02.2013 в 16:15.
)
<Removed>
Reason:bad tutorial sorry
Reason:bad tutorial sorry
stock MessageToAdmins(color,const string[])
{
for(new i = 0; i < MAX_PLAYERS; i++) if(IsPlayerConnected(i) == 1) if(pInfo[i][Adminlevel] >= 1) SendClientMessage(i, color, string);//if player is connected and he's admin level higher then 1 he will get this message
return 1;
}
stock MessageToAdmins(color,const string[])
{
for(new i = 0; i < MAX_PLAYERS; i++) // Loops through all players
{
if(IsPlayerConnected(i) == 1) // Checks if the player is connected
{
if(IsPlayerAdmin(playerid)) SendClientMessage(i, color, string);//if player is connected and he's admin level higher then 1 he will get this message
}
}
return 1;
}