Re: How to make a register system ( Dialogs, SQLite and rBits ) -
MyNinja - 24.01.2013
Best register/login system tutorial, thanks!
Re: How to make a register system ( Dialogs, SQLite and rBits ) -
Madeline - 28.01.2013
Lorenc_, I have a question.
For example, I am using this code with SQLite. But, I am using MySQL for all the other savings of the scripts. Do I have to convert the whole script or will it work well? I've never seen SQLite & MySQL together
Re: How to make a register system ( Dialogs, SQLite and rBits ) -
proSeryoga - 08.02.2013
Help me

Command pls
/makeadmin id [lvl]
confused ...
Re: How to make a register system ( Dialogs, SQLite and rBits ) -
proSeryoga - 09.03.2013
Help me commands
Bit16: g_AdminLevel <MAX_PLAYERS>
/makeadmin [id] [lvl]
if(!strcmp(cmd, "/makeadmin", true))
Re: How to make a register system ( Dialogs, SQLite and rBits ) -
Xeiss - 09.03.2013
Nice, well done.
Re: How to make a register system ( Dialogs, SQLite and rBits ) -
Bennyy - 09.03.2013
Very Nice Well done,
Re: How to make a register system ( Dialogs, SQLite and rBits ) -
proSeryoga - 09.03.2013
Quote:
Originally Posted by proSeryoga
Help me commands
Bit16: g_AdminLevel <MAX_PLAYERS>
/makeadmin [id] [lvl]
if(!strcmp(cmd, "/makeadmin", true))
|
HELP ME
Re: How to make a register system ( Dialogs, SQLite and rBits ) -
proSeryoga - 10.03.2013
Code:
if(!strcmp(cmd, "/makeadmin", true))
{
//if(Bit16_Get(g_AdminLevel, playerid) < 1) return true;
new giveplayerid, id;
if (sscanf(params,"ui", giveplayerid, id)) return SendClientMessage(playerid, 0xFF0000AA ," /makeadmin [playerid] [lvl]");
if( id < 0 || id > 5 ) return SendClientMessage( playerid, -1, "0 - 5 );
if( Bit16_Get( g_AdminLevel, giveplayerid ) == id ) return SendClientMessage( playerid, -1, "Already this level" );
{
Bit16_Set(g_AdminLevel, giveplayerid, id);
}
return true;
}
Re: How to make a register system ( Dialogs, SQLite and rBits ) -
RVRP - 21.04.2013
Excellent tutorial - very informative.
I only have one gripe, and maybe this was answered already but I haven't read all of the posts on this thread, and it has to do with this code:
pawn Code:
new Field[ 20 ]; //Creating a field to retrieve the data
// get the field "SCORE"'s value and insert it to Field itself.
db_get_field_assoc(Result, "SCORE", Field, 30);
Why would you create a new string of the size 20, and then when you fill that string with data you allow the max size of the data you are retrieving to be 30. Not a big deal but just doesn't make much sense.
Re: How to make a register system ( Dialogs, SQLite and rBits ) -
Ayham - 23.11.2013
Nice TUT its Really Nice Registration Textdraw i liked it
Thank You
Re: How to make a register system ( Dialogs, SQLite and rBits ) -
Cuhz - 23.11.2013
Nice one! Thank you!
Re: How to make a register system ( Dialogs, SQLite and rBits ) -
Nightangle - 29.07.2014
Thank you so much man , This is the best one + Rep.
Re: How to make a register system ( Dialogs, SQLite and rBits ) -
freeze98 - 12.10.2014
what is the db_escape function for?
Re: How to make a register system ( Dialogs, SQLite and rBits ) -
naveen - 18.04.2015
i have used ur scripts its awsome but how to store our life and guns to in script pls /pm me
sampserver106@gmail.com
Re: How to make a register system ( Dialogs, SQLite and rBits ) -
Uberanwar - 25.04.2015
What's a good thing about SQLite? Is it better than Y_INI?