SA-MP Forums Archive
Message isn't posting to irc - 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: Message isn't posting to irc (/showthread.php?tid=613471)



Message isn't posting to irc - justjamie - 28.07.2016

Title,
it isn't posting anything.
PHP код:
new query[256];
new 
playerserial[128];
gpci(playerid,playerserial,sizeof(playerserial));
format(query,sizeof(query),"SELECT * FROM bans WHERE Gpci='%s'",playerserial);
mysql_tquery(connection,query,"goodEvade","d",playerid);
/* ============================================================================= */
forward goodEvade(playerid);
public 
goodEvade(playerid)
{
    if(
cache_num_rows())
    {
    new 
bannedplayername[35];
      
cache_get_field_content(0"Username"bannedplayername);
    
IRC_GroupSay(Group"#admins"sprintf("%s has the same GPCI as IP-banned player %s."RPName(playerid), bannedplayername));
    
IRC_GroupSay(Group"#admins"sprintf("(!) He is probably ban evading. (!)"));
    }
    return 
1;




Re: Message isn't posting to irc - justjamie - 28.07.2016

// fixed

i didnt change anything but it suddenly worked.

lol