SA-MP Forums Archive
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 
0i<MAX_PLAYERSi++)
{
if(
GetAdminLevel(playerid) < && !IsPlayerAdmin(playerid) && GetAdminSpay(playerid) < 2)
if(
!= 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