SendAdminMessage(color, const text[], {Float,_}:...)
{
static
args,
str[192];
if((args = numargs()) <= 2)
{
foreach(new i : Player)
{
if(PlayerInfo[i][pLogged] && PlayerInfo[i][pAdmin] > 0)
{
SendClientMessage(i, color, text);
}
}
printf(text);
}
else
{
while(--args >= 2)
{
#emit LCTRL 5
#emit LOAD.alt args
#emit SHL.C.alt 2
#emit ADD.C 12
#emit ADD
#emit LOAD.I
#emit PUSH.pri
}
#emit PUSH.S text
#emit PUSH.C 192
#emit PUSH.C str
#emit LOAD.S.pri 8
#emit ADD.C 4
#emit PUSH.pri
#emit SYSREQ.C format
#emit LCTRL 5
#emit SCTRL 4
foreach(new i : Player)
{
if(PlayerInfo[i][pLogged] && PlayerInfo[i][pAdmin] > 0)
{
SendClientMessage(i, color, str);
}
}
printf(str);
#emit RETN
}
return 1;
}
SendAdminMessage(COLOR_YELLOW, "AdmWarning: %s[%i] failed the health hack check as they tabbed.", GetPlayerRPName(i), i);
[16:09:29] [connection] incoming connection: XXXXXXXX id: 0 [16:09:30] [join] BLA_BLA has joined the server (XXXXXXXXXX) [16:09:30] The request failed! The response code was: 6 |
btw i'm knew in this scripting stuff, so I might be totally wrong.
I think with the loop on pLogged it will SendClientMessage, PS: I'm totally knew please have pacience. |
btw i'm knew in this scripting stuff, so I might be totally wrong.
I think with the loop on pLogged it will SendClientMessage, PS: I'm totally knew please have pacience. |
---------- Loaded log file: "server_log.txt". ---------- SA-MP Dedicated Server ---------------------- v0.3.7-R2, ©2005-2015 SA-MP Team [12:18:43] [12:18:43] Server Plugins [12:18:43] -------------- [12:18:43] Loading plugin: crashdetect.so [12:18:43] CrashDetect v4.18.1 is OK. [12:18:43] Loaded. [12:18:43] Loading plugin: pawncmd.so [12:18:43] Pawn.CMD plugin v3.1.3 by urShadow loaded [12:18:43] Loaded. [12:18:43] Loading plugin: sscanf.so [12:18:43] [12:18:43] =============================== [12:18:43] sscanf plugin loaded. [12:18:43] Version: 2.8.2 [12:18:43] © 2012 Alex "Y_Less" Cole [12:18:43] =============================== [12:18:43] Loaded. [12:18:43] Loading plugin: streamer.so [12:18:43] *** Streamer Plugin v2.9.1 by Incognito loaded *** [12:18:43] Loaded. [12:18:43] Loading plugin: SKY.so [12:18:45] Loaded. [12:18:45] Loading plugin: Whirlpool.so [12:18:45] [12:18:45] ================== [12:18:45] [12:18:45] Whirlpool loaded [12:18:45] [12:18:45] ================== [12:18:45] [12:18:45] Loaded. [12:18:45] Loading plugin: nativechecker.so [12:18:45] Loaded. [12:18:45] Loading plugin: mysql_static.so [12:18:45] >> plugin.mysql: R39-5 successfully loaded. [12:18:45] Loaded. [12:18:45] Loading plugin: regex.so [12:18:45] [12:18:45] ______________________________________ [12:18:45] Regular Expression Plugin v0.2.1 loaded [12:18:45] ______________________________________ [12:18:45] By: Fro © Copyright <TBG> 2009-2011 [12:18:45] ______________________________________ [12:18:45] Loaded. [12:18:45] Loading plugin: YSF.so [12:18:46] ARRAY_ConsoleCommands: 8196920 [12:18:46] [12:18:46] =============================== [12:18:46] YSF - kurta999's version R19 loaded [12:18:46] © 2008 Alex "Y_Less" Cole - © 2010 - 2016 kurta999 [12:18:46] Server version: 0.3.7 R2-1 [12:18:46] Operating System: Linux [12:18:46] Built on: Mar 13 2017 at 00:24:15 [12:18:46] =============================== [12:18:46] Loaded. [12:18:46] Loaded 10 plugins. [12:18:47] [12:18:47] Filterscripts [12:18:47] --------------- [12:18:47] Loading filterscript 'anti-flood_+_ip_limits.amx'... [12:19:23] AMX (141622952) loaded [12:19:23] Loaded 1 filterscripts. [12:20:18] AMX (141622832) loaded [12:20:18] Error: Function not registered: 'regex_build' [12:20:18] Error: Function not registered: 'regex_match_exid' [12:20:18] Error: Function not registered: 'mysql_format' [12:20:18] Error: Function not registered: 'mysql_tquery' [12:20:18] Error: Function not registered: 'cache_insert_id' [12:20:18] Error: Function not registered: 'mysql_escape_string' [12:20:18] Error: Function not registered: 'cache_get_data' [12:20:18] Error: Function not registered: 'cache_get_field_content' [12:20:18] Error: Function not registered: 'cache_get_field_content_int' [12:20:18] Error: Function not registered: 'cache_get_field_content_float' [12:20:18] Error: Function not registered: 'mysql_unprocessed_queries' [12:20:18] Error: Function not registered: 'cache_get_row_count' [12:20:18] Error: Function not registered: 'cache_get_row_int' [12:20:18] Error: Function not registered: 'cache_affected_rows' [12:20:18] Error: Function not registered: 'cache_get_row' [12:20:18] Error: Function not registered: 'mysql_connect' [12:20:18] Error: Function not registered: 'mysql_errno' [12:20:18] Error: Function not registered: 'mysql_close' [12:20:19] Get shit on by Anti-DeAMX [12:20:20] 508 objects loaded. [12:20:20] Number of vehicle models: 71 [12:20:22] [Script] 1 houses loaded. [12:20:22] [Script] 0 garages loaded. [12:20:23] [Script] 0 businesses loaded. [12:20:23] [Script] 1 entrances loaded. [12:20:23] [Script] 0 factions loaded. [12:20:23] [Script] 1 lands loaded. [12:20:23] [Script] 0 gangs loaded. [12:20:23] [Script] 0 points loaded. [12:20:23] [Script] 0 turfs loaded. [12:20:23] [Script] 0 locations loaded [12:20:23] [Script] 0 crews loaded [12:20:23] [Script] 0 atms loaded [12:20:23] [Script] 0 Player Backpacks loaded. [12:20:23] [Script] 0 vips removed. |
[join]The_Player has joined the server(player_ip) |
RCON (In-Game): Player #0 (The_Player) has logged in. |