SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Tutorials

Reply
 
Thread Tools Display Modes
Old 27/08/2017, 10:40 AM   #541
Misiur
High-roller
 
Misiur's Avatar
 
Join Date: Jul 2009
Location: Poland
Posts: 2,540
Reputation: 552
Default Re: Login and Register System - Dialogs - Using Y_INI

Do you have a_samp included?
Misiur is offline   Reply With Quote
Old 09/09/2017, 09:08 PM   #542
hadyzeeneldin
Little Clucker
 
Join Date: Aug 2017
Posts: 4
Reputation: 1
Default Re: Login and Register System - Dialogs - Using Y_INI

nice its helpful
hadyzeeneldin is offline   Reply With Quote
Old 09/12/2017, 09:21 PM   #543
Nardo
Little Clucker
 
Join Date: Aug 2017
Posts: 2
Reputation: 0
Default Re: Login and Register System - Dialogs - Using Y_INI

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.
Nardo is offline   Reply With Quote
Old 13/12/2017, 04:07 AM   #544
Tass007
Gangsta
 
Tass007's Avatar
 
Join Date: May 2011
Location: Somewhere not near you
Posts: 695
Reputation: 30
Default Re: Login and Register System - Dialogs - Using Y_INI

Quote:
Originally Posted by Nardo View Post
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.
__________________
Copyright 2016 vR Studios
Currently working with vR Studios
Copying and pasting doesn't allow you to learn the things that reading and understanding will.
Tass007 is offline   Reply With Quote
Old 31/12/2017, 06:54 AM   #545
Imbalo
Big Clucker
 
Join Date: Mar 2017
Location: Indonesia
Posts: 66
Reputation: 0
Default Re: Login and Register System - Dialogs - Using Y_INI

why the YSI could not connect ??
Imbalo is offline   Reply With Quote
Old 20/03/2018, 06:39 PM   #546
Divyanshu
Banned
 
Join Date: Mar 2018
Posts: 4
Reputation: 3
Default Re: Login and Register System - Dialogs - Using Y_INI

How to download i cant download YSI form github it only show video
Divyanshu is offline   Reply With Quote
Old 16/04/2018, 05:52 AM   #547
GeorgeLimit
Little Clucker
 
Join Date: Mar 2018
Posts: 12
Reputation: 0
Default Re: Login and Register System - Dialogs - Using Y_INI

How to set player score in game and Admin level in game?
GeorgeLimit is offline   Reply With Quote
Old 16/04/2018, 09:58 AM   #548
ProScripter
Banned
 
Join Date: Apr 2018
Location: India
Posts: 18
Reputation: 0
Default Re: Login and Register System - Dialogs - Using Y_INI

Quote:
Originally Posted by GeorgeLimit View Post
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(playeridparams[])
{
 new 
idlevelname[25], gname[25];
 if(
sscanf(params"dd"idlevel)) return SendClientMessage(playerid0xFF000050"Usage: /setadmin [playerid] [level]");
 if(
level || level 0) return SendClientMessage(playerid0xFF000050"Invalid Admin Level.");
 if(!
IsPlayerConnected(id)) return SendClientMessage(playerid0xFF000050"Player isnot connected");
 
GetPlayerName(playeridnamesizeof(name));
 
GetPlayerName(idgnamesizeof(gname));
 
PlayerInfo[id][pAdmin] = level;
 
format(stringsizeof(string), "%s have setted you as %d level admin"namelevel);
 
SendClientMessage(id0xFF0000AAstring);
 
format(stringsizeof(string), "You have setted %s as %d level admin"gnamelevel);
 
SendClientMessage(playerid0xFF0000AAstring);
 return 
1;
}
CMD:setscore(playeridparams[])
{
 new 
idscorename[25], gname[25];
 if(
sscanf(params"dd"idscore)) return SendClientMessage(playerid0xFF000050"Usage: /setscore [playerid] [score]");
 if(
score 9999999 || score 0) return SendClientMessage(playerid0xFF000050"Invalid Scores.");
 if(!
IsPlayerConnected(id)) return SendClientMessage(playerid0xFF000050"Player isnot connected");
 
GetPlayerName(playeridnamesizeof(name));
 
GetPlayerName(idgnamesizeof(gname));
 
SetPlayerScore(idscore);
 
format(stringsizeof(string), "%s have setted your score to %d."namescore);
 
SendClientMessage(id0xFF0000AAstring);
 
format(stringsizeof(string), "You have setted %s scores to %d."gnamescore);
 
SendClientMessage(playerid0xFF0000AAstring);
 return 
1;

ProScripter is offline   Reply With Quote
Old 04/05/2018, 03:15 AM   #549
PlayHard
Huge Clucker
 
PlayHard's Avatar
 
Join Date: Nov 2011
Location: In an apartment
Posts: 218
Reputation: 22
Default Re: Login and Register System - Dialogs - Using Y_INI

Quote:
Originally Posted by Mitchyjones View Post
Still waiting ^
Same here dear
PlayHard is offline   Reply With Quote
Old 04/05/2018, 10:54 AM   #550
CrystalGamer
Banned
 
Join Date: Apr 2018
Posts: 52
Reputation: 2
Default Re: Login and Register System - Dialogs - Using Y_INI

replace this

PHP Code:
//////onplayerconnect///
LoadUser_%s
to 
LoadUser_data 
CrystalGamer is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Tutorial] Login & Register system - dialogs - with y_ini Seven_of_Nine Tutorials 30 17/12/2016 09:20 AM
[FilterScript] [FS] ERegLog ( Advanced Register/Login System [Dialogs] ) aircombat Filterscripts 29 09/11/2014 09:30 PM
[Tutorial] Login and Register System - Dialogs - Using SII Kush Tutorials 69 02/07/2013 05:19 PM
[FilterScript] Register/login system (Dini, dialogs) pantelimonfl Filterscripts 6 08/03/2011 04:13 PM


All times are GMT. The time now is 04:34 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.