20.06.2010, 13:07
Okay, so I have 3 questions...
1.) What is the usual ping of a bot?
2.) What the hell is wrong with my mutelist?!
It only shows the recently muted player.
3.) Why is it sometimes, my dini scripts resets, or turns into 0.
Thanks.
1.) What is the usual ping of a bot?
2.) What the hell is wrong with my mutelist?!
It only shows the recently muted player.
pawn Код:
CMD:mutelist(playerid, params[])
{
new count = 0;
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
SendClientMessage(playerid, Red, "Listing Currently Muted Players:");
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) && ainfo[i][Muted] > 0)
{
new str[56];
GetPVarString(playerid, "TREASON", str, sizeof(str));
SPD(playerid, MUTED, DIALOG_STYLE_MSGBOX, "Muted Player", str, "Done", "Cancel");
count++;
}
}
if(count == 0)
{
SendClientMessage(playerid, Red, "SERVER : There are no muted players at the moment!");
}
return 1;
}
Quote:
info[playerid][Level] = 1; then after a GMX or reloadfs it turns into info[playerid][Level] = 0; |