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 - :P

#1
as expected thats why i say show 90 line
#2
first of all wrong board and show 90 line
i am 99% sure its will be a dofile
#3
if no one can solve this problem tell me how to change car colours with cmds which change car colours from db
#6
database @Thijn
#7
Scripting and Server Management / suddenly
May 01, 2016, 07:42 PM
after restarting my server my all acrs colours changed to black why no error :'( :'( :'( :'(
#8
@Rizwan remove these two lines from every command 100% will work after it
else if ( player.World == 1 ) MessagePlayer( "Error - Invalid Command",player );
    else if ( player.World == 3 ) MessagePlayer( "Error - Invalid Command",player );
#9
Off-Topic General / question
Apr 30, 2016, 11:42 AM
i want to ask that which admins cmds using in irc that geting level from server or irc have its own levels
please explain in details
#10
thanks Kakan your function working and other prob is due wrong query i solved it thanks
#11
its showing puto on any level
its means its doesent geting level from db so what i do for this
#12
when i use setlevel cmd for setting level its say done but not updated in db and getlevel and getleveltag not working not geting i  used it in playerchat it says null cxooooo thats null coming on leveltag place
function GetLevel(player)
{
local Level =  GetSQLColumnData( QuerySQL( sqliteDB, "SELECT Level FROM Accounts WHERE Name='" + player.Name.tolower() + "'" ), 0 );
if ( Level ) return Level;
else return 0;
}
function GetLevelTag(player)
{
local Level = GetLevel(player);
if( Level == 1 ) return "Member";
if( Level == 5 ) return "Moderator";
if( Level == 6 ) return "Admin";
if( Level == 7 ) return "Management";
if( Level == 8 ) return "Developer";
}
onplayerchat
function onPlayerChat( player, text )
   {
   local col = TeamidToRGB( player.Team ), colHex = format("#%02X%02X%02X", col.r, col.g, col.b);
 EchoMessage( ICOL_LBLUE + "[" + player.ID + "] " + player.Name + "> " + ICOL_BLUE + " " + text + " " );
 Message(GetLevelTag(player) + ": [" + colHex + "]" + player.Name + ": " + WHITE + " " + text );
 if ( text )
 {
  if ( text.slice( 0, 1 ) == "!" )
  {
   local i = NumTok( text, " " ), xp = null;

   if ( i == 1 ) onPlayerCommand2( player, GetTok( text.slice( 1 ), " ", 1 ), xp );
   else onPlayerCommand2( player, GetTok( text.slice( 1 ), " ", 1 ), GetTok( text.slice( 1 ), " ", 2, i ) );
}
}

  }
#13
Scripting and Server Management / Re: virus
Oct 31, 2015, 11:47 AM
lol virus will attack on my laptop its not a solution
#14
Scripting and Server Management / virus
Oct 31, 2015, 11:43 AM
when i download sqlite plugin of stromeus in its virus can i get virus free
#15
Scripting and Server Management / Re: Objects
Oct 28, 2015, 11:46 AM
Thanks very much