Re: Login and Register System - Dialogs - Using Y_INI -
dopeboy1040 - 09.05.2017
This Script is Awesome I Like This And Work Thanks U soo Much
Re: Login and Register System - Dialogs - Using Y_INI -
DomagojSellug - 14.06.2017
Old thread, still working to this day, awesome!
Re: Login and Register System - Dialogs - Using Y_INI -
KushalD - 27.08.2017
Awesome job.. It is helping me to learn Scripting faster.
Re: Login and Register System - Dialogs - Using Y_INI -
KushalD - 27.08.2017
I am doing this in Grandlarc gamemode and i got some warnings and errors:
Quote:
C:\Users\Kushal's\Desktop\My Server\pawno\include\YSI\..\YSI_Internal\y_funcinc .inc(72) : error 017: undefined symbol "printf"
C:\Users\Kushal's\Desktop\My Server\pawno\include\YSI\..\YSI_Internal\y_funcinc .inc(72) : warning 215: expression has no effect
C:\Users\Kushal's\Desktop\My Server\pawno\include\YSI\..\YSI_Internal\y_funcinc .inc(72) : error 001: expected token: ";", but found ")"
C:\Users\Kushal's\Desktop\My Server\pawno\include\YSI\..\YSI_Internal\y_funcinc .inc(72) : error 029: invalid expression, assumed zero
C:\Users\Kushal's\Desktop\My Server\pawno\include\YSI\..\YSI_Internal\y_funcinc .inc(72) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
|
Please someone help me?
Re: Login and Register System - Dialogs - Using Y_INI -
Misiur - 27.08.2017
Do you have a_samp included?
Re: Login and Register System - Dialogs - Using Y_INI -
hadyzeeneldin - 09.09.2017
nice its helpful
Re: Login and Register System - Dialogs - Using Y_INI -
Nardo - 09.12.2017
In which includes folder shall I put the YSI folder? I have one includes folder in the main folder of my server and I have another one in my pawno folder. Sorry for the probably dumb question.
Re: Login and Register System - Dialogs - Using Y_INI -
Tass007 - 13.12.2017
Quote:
Originally Posted by Nardo
In which includes folder shall I put the YSI folder? I have one includes folder in the main folder of my server and I have another one in my pawno folder. Sorry for the probably dumb question.
|
Put it in your SA-MP Server Directory within the folder of Pawno. For example. C:\Program Files(x86)\Rockstar Games\SA-MP Server\pawno\include
Then put the YSI folder in that include folder. You should see a few other includes for example a_samp.inc, a_http.inc.
Re: Login and Register System - Dialogs - Using Y_INI -
Imbalo - 31.12.2017
why the YSI could not connect ??
Re: Login and Register System - Dialogs - Using Y_INI -
Divyanshu - 20.03.2018
How to download i cant download YSI form github it only show video
Re: Login and Register System - Dialogs - Using Y_INI -
GeorgeLimit - 16.04.2018
How to set player score in game and Admin level in game?
Re: Login and Register System - Dialogs - Using Y_INI -
ProScripter - 16.04.2018
Quote:
Originally Posted by GeorgeLimit
How to set player score in game and Admin level in game?
|
that is only login/register system not admin system
but here you can use this commands for your server to set yourself admin okaY.
PHP Code:
CMD:setadmin(playerid, params[])
{
new id, level, name[25], gname[25];
if(sscanf(params, "dd", id, level)) return SendClientMessage(playerid, 0xFF000050, "Usage: /setadmin [playerid] [level]");
if(level > 4 || level < 0) return SendClientMessage(playerid, 0xFF000050, "Invalid Admin Level.");
if(!IsPlayerConnected(id)) return SendClientMessage(playerid, 0xFF000050, "Player isnot connected");
GetPlayerName(playerid, name, sizeof(name));
GetPlayerName(id, gname, sizeof(gname));
PlayerInfo[id][pAdmin] = level;
format(string, sizeof(string), "%s have setted you as %d level admin", name, level);
SendClientMessage(id, 0xFF0000AA, string);
format(string, sizeof(string), "You have setted %s as %d level admin", gname, level);
SendClientMessage(playerid, 0xFF0000AA, string);
return 1;
}
CMD:setscore(playerid, params[])
{
new id, score, name[25], gname[25];
if(sscanf(params, "dd", id, score)) return SendClientMessage(playerid, 0xFF000050, "Usage: /setscore [playerid] [score]");
if(score > 9999999 || score < 0) return SendClientMessage(playerid, 0xFF000050, "Invalid Scores.");
if(!IsPlayerConnected(id)) return SendClientMessage(playerid, 0xFF000050, "Player isnot connected");
GetPlayerName(playerid, name, sizeof(name));
GetPlayerName(id, gname, sizeof(gname));
SetPlayerScore(id, score);
format(string, sizeof(string), "%s have setted your score to %d.", name, score);
SendClientMessage(id, 0xFF0000AA, string);
format(string, sizeof(string), "You have setted %s scores to %d.", gname, score);
SendClientMessage(playerid, 0xFF0000AA, string);
return 1;
}
Re: Login and Register System - Dialogs - Using Y_INI -
PlayHard - 04.05.2018
Quote:
Originally Posted by Mitchyjones
Still waiting ^
|
Same here dear
Re: Login and Register System - Dialogs - Using Y_INI -
CrystalGamer - 04.05.2018
replace this
PHP Code:
//////onplayerconnect///
LoadUser_%s
to
LoadUser_data
Re: Login and Register System - Dialogs - Using Y_INI -
KamilPolska - 22.09.2018
How to do it without hash?
E.g. Enter the password: 123456 and you must save the password 123456
Re: Login and Register System - Dialogs - Using Y_INI -
v1k1nG - 22.09.2018
Quote:
Originally Posted by KamilPolska
How to do it without hash?
E.g. Enter the password: 123456 and you must save the password 123456
|
Please never do it
Re: Login and Register System - Dialogs - Using Y_INI -
Susenkus - 13.03.2019
Can someone help pls, how do do it that instead displaying actual pass it will display ****** you what i mean
and how to save weapons
Re: Login and Register System - Dialogs - Using Y_INI -
Awkward - 20.06.2019
Great tutorial!
But since I'm quite new to all this stuff..
Could you explain how I can save player skin, position, vehicles etc ?
I don't understand in wich part of the code it saves stuff.
Re: Login and Register System - Dialogs - Using Y_INI -
Nitrofuel786 - 21.06.2019
It doesnt save anything in my INI file. Where do I have to put step 7 and 8 in?
Re: Login and Register System - Dialogs - Using Y_INI -
oghabanjb - 22.06.2019
Quote:
Originally Posted by Nitrofuel786
It doesnt save anything in my INI file. Where do I have to put step 7 and 8 in?
|
Anywhere of your code. Just don't put it in public, stock and plain functions.