Hallo com mein achat buggt rum ?
es wird alles 2 mal gesendet
[17:55:20] *** Achat: Owner [RGR]Snake: :DD den achat bug fixe ich gleich ***
[17:55:20] *** Achat: Owner [RGR]Snake: :DD den achat bug fixe ich gleich ***
[17:55:26] Screenshot Taken - sa-mp-494.png
[17:55:26] *** Achat: Owner Renzo_Wayneee: nice ***
[17:55:26] *** Achat: Owner Renzo_Wayneee: nice ***
ocmd:a(playerid, params[])
{
if(isSupp(playerid, 1) && isAdmin(playerid, 1)) return SendClientMessage(playerid,ROT,"Info: Du bist dazu nicht befugt!");
new string[128];
if(sscanf(params, "s[60]", string))return SendClientMessage(playerid, ROT, "Benutze: {D6D6D6}/a [nachricht]");
format(string,sizeof(string),"*** Achat: %s %s: %s ***",arang(playerid),getPlayerName(playerid), string);
for(new i=0; i<MAX_PLAYERS; i++)
{
if(!IsPlayerConnected(i))continue;
SendAdminMessage(ROT, string);
}
printf("Achat: %s %s: %s!)",arang(playerid),getPlayerName(playerid),string);
return 1;
}
stock SendAdminMessage(color, msg[])
{
for(new i = 0; i < MAX_PLAYERS; i++) if(sInfo[i][level] > 0) SendClientMessage(i, color, msg);
return 1;
}