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 - imran

#1
Doom I am not mad >.<
#2
Scripting and Server Management / Map Problem
Jun 27, 2015, 09:15 AM
I added akina.xml but i cant see it in server y??
#3
Problem solved by myself :)
#4
cant understand :'( disappointed
#5
tell me how to fix this?????????? >.<
#6
After correction of "<" again showing error
link
#7
I am getting error when i use admin cmds
I am using this:
local Level = GetLevel(player);
        if ( Level )
          {
if ( pinfo[ player.ID ].Level > 4 ) MessagePlayer("[#FF0000]Error: [#F7FE2E]You dont have Access to it.", player );
link
#9
Guys i need spree system.I tried to make it but cant make.Can anyone make it?
#10
Thanks my problem is solved :)
#11
Snippet Showroom / Re: Real Speedometer!!
Jun 25, 2015, 10:09 AM
no i only did copy paste
#12
Snippet Showroom / Re: Real Speedometer!!
Jun 24, 2015, 08:58 PM
What's this ??? :/
link
#13
function register(player,text)
{
QuerySQL( db, "INSERT INTO Accounts (Name,Password,Level,RegisterDate,LastLogin,Cash,Bank,IP,Country) values( '"+player.Name+"','"+text+"','1', '"+GetFullTime()+"', '"+GetFullTime()+"','2000','0','"+player.IP+"','"+IpToCountry( player.IP )+"','0','0','0','0','0','0','0','0')");
QuerySQL( db, "INSERT INTO KD ( Name,Kills,Deaths) VALUES ( '" + player.Name +"','0','0' )" );
player.Cash = 2000
}
if ( cmd == "register" )
{
                 local q = QuerySQL( db, "SELECT * FROM Accounts WHERE rowid LIKE '" + text + "'" );
if ( binfo[player.ID].registered==true ) MessagePlayer("[#FF0000]Error:[#F7FE2E]You Are Already Registered"player);
                 else
{
                if ( text )
              {
MessagePlayer("[#F7FE2E]You have registered your nickname, Password - " + text, player);
register(player,text);
                      binfo[player.ID].registered=true;
binfo[player.ID].logged=true;
       
}
else MessagePlayer( "[#FF0000]Usage: [#F7FE2E]/" + cmd + " <Password>", player );
}
}
function onScriptLoad()
{
QuerySQL( db, "CREATE TABLE IF NOT EXISTS Accounts ( Name VARCHAR(32),Password VARCHAR(25),Level VARCHAR(32), RegisterDate TEXT, LastLogin TEXT,Cash INT(15),Bank INT(15),IP VARCHAR(25),Country VARCHAR(25))" );
}
#14
My registration function is bugged.It shows no error but when i rejoin server it asks me to register again.
- Link removed -
#15
I wanna check response :P but now i am disappointed :'(