SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 08/09/2011, 05:00 PM   #11
Jafet_Macario
Huge Clucker
 
Jafet_Macario's Avatar
 
Join Date: Jul 2011
Posts: 439
Reputation: 64
Default Re: Register & Login System with Dialogs - DOF2

Yeah, hope Double-O-Seven fix it.
__________________
Jafet_Macario is offline   Reply With Quote
Old 09/09/2011, 05:27 AM   #12
Basicz
Gangsta
 
Basicz's Avatar
 
Join Date: Aug 2010
Location: Indonesia, Surabaya.
Posts: 621
Reputation: 35
Default Re: Register & Login System with Dialogs - DOF2

Or you could use DOF2_ParseFile for a better performance ?

Nice job on the tutorial though.
__________________

- Quina, from the game " Final Fantasy IX "
Basicz is offline   Reply With Quote
Old 09/09/2011, 03:07 PM   #13
Jafet_Macario
Huge Clucker
 
Jafet_Macario's Avatar
 
Join Date: Jul 2011
Posts: 439
Reputation: 64
Default Re: Register & Login System with Dialogs - DOF2

Quote:
Originally Posted by Basicz View Post
Or you could use DOF2_ParseFile for a better performance ?

Nice job on the tutorial though.
Thank you.
__________________
Jafet_Macario is offline   Reply With Quote
Old 16/09/2011, 10:51 AM   #14
Issam
Huge Clucker
 
Join Date: Apr 2011
Location: SA-MP Forums. Admin:1337
Posts: 441
Reputation: 26
Default Re: Register & Login System with Dialogs - DOF2

Step 5

Now we got to save some variables, so we create an enum.
Enums, aka Enumerations are every useful for representing large groups of data and modifying constants quickly.
So we will store our Kills,Deaths,Money and Admin Level.
pawn Code:
enum pInfo
{
    pKills,
    pDeaths,
    pMoney,
    pAdmin
}
new PlayerInfo[MAX_PLAYERS][pInfo];
Where to exactly ADD THIS? someone HELP HERE!!
Issam is offline   Reply With Quote
Old 16/09/2011, 12:57 PM   #15
Jafet_Macario
Huge Clucker
 
Jafet_Macario's Avatar
 
Join Date: Jul 2011
Posts: 439
Reputation: 64
Default Re: Register & Login System with Dialogs - DOF2

Quote:
Originally Posted by Issam View Post
Step 5

Now we got to save some variables, so we create an enum.
Enums, aka Enumerations are every useful for representing large groups of data and modifying constants quickly.
So we will store our Kills,Deaths,Money and Admin Level.
pawn Code:
enum pInfo
{
    pKills,
    pDeaths,
    pMoney,
    pAdmin
}
new PlayerInfo[MAX_PLAYERS][pInfo];
Where to exactly ADD THIS? someone HELP HERE!!
Edited, take a look now.
__________________
Jafet_Macario is offline   Reply With Quote
Old 16/09/2011, 01:34 PM   #16
Issam
Huge Clucker
 
Join Date: Apr 2011
Location: SA-MP Forums. Admin:1337
Posts: 441
Reputation: 26
Default Re: Register & Login System with Dialogs - DOF2

Can you make a FILTERSCRIPT of this,please
Adding to GM is kinda hard,and gives me bunch of errors,like 9
+1rep.
Issam is offline   Reply With Quote
Old 16/09/2011, 01:38 PM   #17
Jafet_Macario
Huge Clucker
 
Jafet_Macario's Avatar
 
Join Date: Jul 2011
Posts: 439
Reputation: 64
Default Re: Register & Login System with Dialogs - DOF2

It's already there.
__________________
Jafet_Macario is offline   Reply With Quote
Old 16/09/2011, 01:46 PM   #18
Issam
Huge Clucker
 
Join Date: Apr 2011
Location: SA-MP Forums. Admin:1337
Posts: 441
Reputation: 26
Default Re: Register & Login System with Dialogs - DOF2

Quote:
Originally Posted by Jafet_Macario View Post
It's already there.
I Tested it,its working but.. its not a filterscript,its a GM
its located on GameModes
and when you open it
its
OnGameModeInit
not
OnFilterScriptinIT
Correct me,if i'm wrong,please!
Issam is offline   Reply With Quote
Old 16/09/2011, 01:58 PM   #19
Jafet_Macario
Huge Clucker
 
Jafet_Macario's Avatar
 
Join Date: Jul 2011
Posts: 439
Reputation: 64
Default Re: Register & Login System with Dialogs - DOF2

Here you go: http://solidfiles.com/d/854be/
__________________
Jafet_Macario is offline   Reply With Quote
Old 16/09/2011, 02:08 PM   #20
Issam
Huge Clucker
 
Join Date: Apr 2011
Location: SA-MP Forums. Admin:1337
Posts: 441
Reputation: 26
Default Re: Register & Login System with Dialogs - DOF2

Quote:
Originally Posted by Jafet_Macario View Post
Thank you! but.. i did load this time,when i went in,there is no DIALOG.. strange
I Checked Scriptfiles/Users and found Issam.inc,but its empty when i open it.
If you need any info,tell me so i can post it,please help and already +rep.
Issam 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 and Register System - Dialogs - Using Y_INI Kush Tutorials 551 22/09/2018 08:33 PM
[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 06:10 PM.


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