Search Results
to SaveStats function, under '[I]if(PLAYERLIST_authed)'
Код:
dUserSetINT(PlayerName(i)).("Skin", GetPVarInt(i, "Skin"));
to LOGIN dialog, under 'if(udb_CheckLogin(PlayerName(playerid),inputtext))'...
179
Quote:
Originally Posted by Joe Staff
Yes, that's why db_open returns a Database ID (DB:database)
Thanks
102
I can't understand the Y_INI, but you need to use this, I think.
Code:
new playercolor; //variable for store the player's color
INI_WriteHex(filename[], "color", GetPlayerColor(playerid)); //to writ...
76
Код:
#include <a_samp>
#include <sscanf2>
#include <zcmd>
new health, otherid;
public OnFilterScriptInit() return 1;
CMD:sethealth(playerid, params[])
{
if(!IsPlayerAdmin(pla...
60
Just one question..
If I have 2 scripts, which uses the sampdb include, can I open 2 DB in same time, in 2 other scripts?
102
I was try to make a script, like this, but I was use 1.1 to boost the speed, and.. its so high amount.
with 1.025, its nice
Good script.
1,074
works, like gTeam variable.. But its easier, I think.
160
Quote:
Originally Posted by Viniborn
This seems too large for a dialog
I'm using 4x1024 chars in a single MSGBOX dialog, and it works.
130
hmmmm
Code:
#include <a_samp>
/* Server Includes */
#include <a_samp>
#include <zcmd>
#include <sscanf2>
why u include a_samp 2 times?
407
Код:
#include <a_samp>
new TextDraw0;
public OnFilterScriptInit() {
TextDraw0 = TextDrawCreate(0.000000, 0.000000, "loadsc3:loadsc3");
TextDrawBackgroundColor(TextDraw0, 255);
...
125
Hard to use y_ini, and dini is outdated.
use SII or HSA or etc..
search for tuts, and u can make it
198
Quote:
Originally Posted by Calgon
Why don't you use the "u" specifier? You can only type a playerid, you can't type a partial of the username using just the "d" specifier. You can use the...
116
Код:
CMD:pm(playerid, params[]) {
AddUsedCommand(playerid, "pm");
new string[128];
if(sscanf(params, "ds", player1, temp)) return SendUsageError(playerid, "/pm [playerid] [message]");
if(!I...
116
Quote:
Originally Posted by [LoD]Hauke
@All: this is a single entry writer. You should not loop saves, with more than 1,000 writings. because than SII is much faster.
@TheArcher
828
Quote:
Originally Posted by SlashPT
If your tests were made with a single entry then they are a complete fail...
If you admit that SII is much faster why did you just posted wrong tests?
...
828
Nice.. But I got an other result for testing.
Код:
[09:32:17] Loading filterscript 'test.amx'...
[09:32:17] SII write started
[09:32:17] SII test done in 196
[09:32:17] HSA write started
[09:3...
828