Menu

Show posts

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 Menu

Messages - Nihongo^

#136
Support / Re: Gui read the data base ?
Dec 29, 2018, 05:49 AM
Quote from: Strike Eagle on Dec 28, 2018, 03:38 PMAny one help here ????
be paitent maybe they're busy
#137
Support / Re: Topclan not in one line
Dec 29, 2018, 05:40 AM
Not work bro

#138
Support / Re: VCMP mods Files ??
Dec 28, 2018, 04:43 PM
Thanks for your big helps. last question how you tell the script to load the files on there ? i mean how you tell the location ?
#139
Support / Re: VCMP mods Files ??
Dec 28, 2018, 03:36 PM
Quote from: MEGAMIND on Dec 28, 2018, 03:28 PM
Quote from: Nihongo^ on Dec 28, 2018, 03:24 PM
Quotewe need another file name diff the question is how can i make that file
if 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 out

or use the moomaper to locate that dff , it will provide u dff name simple
Thanks for answering 
i will check it
#140
Support / Re: VCMP mods Files ??
Dec 28, 2018, 03:24 PM
Quotewe need another file name diff the question is how can i make that file
#141
Support / VCMP mods Files ??
Dec 28, 2018, 03:08 PM
hi there i am trying to add mods i like to add this one
https://www.gtainside.com/en/vicecity/mods/590-hanf-shop-f-r-vice-city/?fbclid=IwAR16A_TKQXrWmNUm_F59HjRxtB-5BckvRggG4yaowguL2SyFNrIPoeAmh74

kindly please i am new in mods so don't make fun of me

ok so i think its an object and we need another file name diff the question is how can i make that file and after getting it how can i please it on server? i know i have to place it on Store/object but with coding how can i tell it to place there ?
#142
Support / Re: Topclan not in one line
Dec 28, 2018, 11:21 AM
not work with /n
ClientMessage( "Top 5 Killers: \n" + name1 + " Kills: " + kills1 + " | " + name2 + " Kills: " + kills2 + " | " + name3 + " Kills: " + kills3 + " | " + name4 + " Kills: " + kills4 + " | " + name5 + " Kills: " + kills5 + "." player, 255, 255,  0  );
#143
Support / Re: Gui read the data base ?
Dec 27, 2018, 01:15 PM
Hi i am sorry for bothering you i am complety noob in gui can you give an example how it works and how client read my databaseetc ?
#144
Support / Gui read the data base ?
Dec 27, 2018, 12:34 PM
Hi how do i use GUI to read the data base ? like when something update on db its show on Server ( with gui )
#145
Support / Topclan not in one line
Dec 27, 2018, 07:11 AM
Hi i am trying to add top clan and facing a problem
top clans are not in line you can see after "Top 5 Killers MD" its start showing from down any solution ? Here's my code



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  );
}
#146
Support / tempban problem wrong format error
Dec 23, 2018, 08:04 AM
Well i give proper command but the function said  "Wrong format, day:hour:min (Numeric)"
What's wrong ?



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 );
}

#147
Support / Re: userlevels on irc
Dec 23, 2018, 07:52 AM
Got it thanks doom Solved
#148
Support / userlevels on irc
Dec 22, 2018, 01:56 PM
Hi i am using echo.multi.userlevels and trying to add acmds level function but unable to add it due to lack of knowledge my question is how do i use "FindLevel" function on irc in order to get acmds
like ~ = level 5
      @= level 4
      %= level2

kindly download the file by clicking on it hope you get it

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);
 }
#149
Quote from: MEGAMIND on Dec 19, 2018, 03:26 PM
Quote from: Athanatos on Dec 19, 2018, 03:10 PM
Quote 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.
Depends still, btw he should use the echo script of warcheif
I  am using echo script of warchief
#150
Quote from: MEGAMIND on Dec 19, 2018, 09:15 AMhave u added ActivateEcho() in ur main file?
Yes I added