Quote from: Strike Eagle on Dec 28, 2018, 03:38 PMAny one help here ?be paitent maybe they're busy
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: Strike Eagle on Dec 28, 2018, 03:38 PMAny one help here ?be paitent maybe they're busy
Quote from: MEGAMIND on Dec 28, 2018, 03:28 PMThanks for answeringQuote from: Nihongo^ on Dec 28, 2018, 03:24 PMif an object doesnt have a dff open imgtool2.0.exe and head towards models/gta3.img search for releavent name as the txd has but with dff extract it outQuotewe need another file name diff the question is how can i make that file
or use the moomaper to locate that dff , it will provide u dff name simple
Quotewe need another file name diff the question is how can i make that file
else if ( cmd == "topclan" )
{
local
query = "SELECT Clan, Kills FROM ClanStats ORDER BY Kills DESC LIMIT 5", //Top 5
q,
name1, name2, name3, name4, name5,
kills1, kills2, kills3, kills4, kills5, i = 1;
q = QuerySQL( db, query );
while( GetSQLColumnData( q, 0 ) )
{
switch(i)
{
case 1:
name1 = GetSQLColumnData( q, 0 );
kills1 = GetSQLColumnData( q, 1 );
break;
case 2:
name2 = GetSQLColumnData( q, 0 );
kills2 = GetSQLColumnData( q, 1 );
break;
case 3:
name3 = GetSQLColumnData( q, 0 );
kills3 = GetSQLColumnData( q, 1 );
break;
case 4:
name4 = GetSQLColumnData( q, 0 );
kills4 = GetSQLColumnData( q, 1 );
break;
case 5:
name5 = GetSQLColumnData( q, 0 );
kills5 = GetSQLColumnData( q, 1 );
break;
}
GetSQLNextRow( q );
i++;
}
FreeSQLQuery(q);
ClientMessage( "Top 5 Killers: " + name1 + " Kills: " + kills1 + " | " + name2 + " Kills: " + kills2 + " | " + name3 + " Kills: " + kills3 + " | " + name4 + " Kills: " + kills4 + " | " + name5 + " Kills: " + kills5 + "." player, 255, 255, 0 );
}
function IRCAddBan( nick, player, expire, reason = "No Reason" )
{
try{
//Equation = (DAYS*24*60*60) + (HOUR*60*60) + (MIN*60)
local ban_Expire = split( expire, ":" ); //days:hours:minutes
if( NumTok( expire, ":" ) == 3 )
{
if( !IsNum( ban_Expire[ 0 ] ) && !IsNum( ban_Expire[ 1 ] ) && !IsNum( ban_Expire[ 2 ] ) )
{
if( ban_Expire[ 0 ].tointeger() <= 31 && ban_Expire[ 1 ].tointeger() <= 24 && ban_Expire[ 2 ].tointeger() <= 60 )
{
local ban_Expires = ( (ban_Expire[ 0 ].tointeger()*24*60*60) + (ban_Expire[ 1 ].tointeger()*60*60) + (ban_Expire[ 2 ].tointeger()*60) ),
Calc = ban_Expire[ 0 ] + " days " + ban_Expire[ 1 ] + " hours " + ban_Expire[ 2 ] + " minutes.",
query = QuerySQL( db, "INSERT INTO Tempban( ban_nick, ban_ip, ban_time, ban_expire, ban_expireratio, ban_admin, ban_reason ) VALUES ( '"+ player.Name.tostring() +"','"+ player.IP.tostring() +"','"+ time().tostring() +"', '"+ ban_Expires.tostring() +"', '" + expire.tostring() + "', '"+ user.tostring() +"', '"+ reason.tostring() +"')");
Message( "Admin " + nick + " has tempbanned " + player.Name + " Reason: " + reason + " for " + Calc + "" );
Staff( ICOL_RED +"You have tempbanned " + player.Name + " successfully!" );
EchoMessage( ICOL_RED + "[" + player.ID + "] " + player.Name + " left the Server. (Kicked)." );
KickPlayer( player );
}
}
else Staff( ICOL_RED + "Time should be numeric (day:hour:min)" );
}
else Staff( ICOL_RED + "Wrong format, day:hour:min (Numeric)" );
}
catch(e) print( "Tempban function Error: " + e );
}
function StaffCommands( nick, cmd, text )
{
if ( ( cmd == "acmds" ) || ( cmd == "admincmds" ) )
{
if ( level < 3 ) Staff( "You have to be a admin to use this command." );
else
{
if ( level == 3 ) Staff( "!getip, !ac !ogetip !ann, !mute, !unmute, !kick, !slap." );
if ( level == 4 ) Staff( "banlist ac ogetip !oipnick !getip, !ann, !mute, !unmute, !kick, !freeze, !unfreeze, !ban, !unban, !drown, ." );
if ( level == 5 ) Staff( "blah blah" );
if ( level == 6 ) Staff( blah);
}
Quote from: MEGAMIND on Dec 19, 2018, 03:26 PMI am using echo script of warchiefQuote from: Athanatos on Dec 19, 2018, 03:10 PMDepends still, btw he should use the echo script of warcheifQuote from: MEGAMIND on Dec 19, 2018, 09:15 AMhave u added ActivateEcho() in ur main file?This question in not relevant to the error he has.
His problem is in the FBSSortNicks function.
Quote from: MEGAMIND on Dec 19, 2018, 09:15 AMhave u added ActivateEcho() in ur main file?Yes I added