HELP logs - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: HELP logs (
/showthread.php?tid=338837)
HELP logs -
lonako45 - 01.05.2012
OK
I do command if player command text /sfsf
the admins see that
but
this my command :
PHP код:
new name[MAX_PLAYERS];
GetPlayerName(playerid,name,MAX_PLAYER_NAME);
for(new i = 0; i<MAX_PLAYERS; i++)
{
if(GetAdminLevel(playerid) < 2 && !IsPlayerAdmin(playerid) && GetAdminSpay(playerid) < 2)
if(i != playerid)
{
format(string,sizeof(string),"[LOG] - Command %s[%d] : %s",name,playerid,cmdtext);
SendClientMessage(i,GrayLogs,string);
}
}
OK
the problem , if player do /sdvcv , he wait 3 seconds and the command work
Why take time before the command will work