SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 25/01/2017, 02:43 PM   #21
Quinncell
Guest
 
Posts: n/a
Default Re: Creating a simple register/save system using R41-2

Quote:
Originally Posted by Yaa View Post
thank you
I am not even sure that you read what he wrote since you'll probably make another tutorial.
  Reply With Quote
Old 25/01/2017, 02:45 PM   #22
GhostHacker9
Big Clucker
 
GhostHacker9's Avatar
 
Join Date: Jan 2017
Location: New Zealand
Posts: 105
Reputation: 109
Default Re: Creating a simple register/save system using R41-2

Quote:
Originally Posted by Yaa View Post






kill me no ?

Well i can only give advice to human beings not to stones.
GhostHacker9 is offline   Reply With Quote
Old 25/01/2017, 02:46 PM   #23
Yaa
Banned
 
Join Date: May 2016
Location: = GetPlayerHouse("Yaa", 0.2);
Posts: 598
Reputation: 42
Default Re: Creating a simple register/save system using R41-2

Quote:
Originally Posted by Sreyas View Post
That's completely immature behaviour man what he said is 100% right.You should take a look @ your login attempts part again and consider the optmisation tricks he mentioned.
@Sreyas i already used GetName function and he said use one variable better but when i used he said use one function better

so i go kill myself then ?
Yaa is offline   Reply With Quote
Old 25/01/2017, 02:49 PM   #24
SyS
High-roller
 
SyS's Avatar
 
Join Date: Oct 2015
Posts: 1,949
Reputation: 504
Default Re: Creating a simple register/save system using R41-2

Quote:
Originally Posted by Yaa View Post
@Sreyas i already used GetName function and he said use one variable better but when i used he said use one function better

so i go kill myself then ?
That's not what he meant he meant to use one global variable to hold the name of the player not to create multiple local variables.
for eg:
PHP Code:
enum your_enumerator
{
Admin,
Kills,
Name[MAX_PLAYER_NAME],
//.....

Understood?
SyS is offline   Reply With Quote
Old 25/01/2017, 02:54 PM   #25
GhostHacker9
Big Clucker
 
GhostHacker9's Avatar
 
Join Date: Jan 2017
Location: New Zealand
Posts: 105
Reputation: 109
Default Re: Creating a simple register/save system using R41-2

Quote:
Originally Posted by Yaa View Post
@Sreyas i already used GetName function and he said use one variable better but when i used he said use one function better

so i go kill myself then ?
Oh my god i meant one global variable not multiple local ones idiot.And take a look @ your login attempts it wont work. The code provided by you to teach others will not work.Yaa be calm and take your time while making something it should not be to show off or to fill up your release threads.It should be rather contributing to community.Also don't expect an appreciation from me like others i will only appreciate things that seems good to my level.I wont appreciate someone to show sympathy or to become friends.All i look @ is code not @ the person. Even if it is Linus Torvalds was the person did bad coding i will argue.
GhostHacker9 is offline   Reply With Quote
Old 25/01/2017, 03:12 PM   #26
Yaa
Banned
 
Join Date: May 2016
Location: = GetPlayerHouse("Yaa", 0.2);
Posts: 598
Reputation: 42
Default Re: Creating a simple register/save system using R41-2

Quote:
Originally Posted by Sreyas View Post
That's not what he meant he meant to use one global variable to hold the name of the player not to create multiple local variables.
for eg:
PHP Code:
enum your_enumerator
{
Admin,
Kills,
Name[MAX_PLAYER_NAME],
//.....

Understood?
Yep thank you

EDIT:

Tutorial Updated with you suggestions guys
Yaa is offline   Reply With Quote
Old 25/01/2017, 03:31 PM   #27
GhostHacker9
Big Clucker
 
GhostHacker9's Avatar
 
Join Date: Jan 2017
Location: New Zealand
Posts: 105
Reputation: 109
Default Re: Creating a simple register/save system using R41-2

Still not fixed login attempts.
GhostHacker9 is offline   Reply With Quote
Old 25/01/2017, 03:40 PM   #28
PaRking
Banned
 
Join Date: Jan 2017
Location: 198.100.144.190:9865
Posts: 37
Reputation: 12
Default Re: Creating a simple register/save system using R41-2

Really ,guys its helped me
PaRking is offline   Reply With Quote
Old 25/01/2017, 03:41 PM   #29
Quinncell
Guest
 
Posts: n/a
Default Re: Creating a simple register/save system using R41-2

Quote:
Originally Posted by PaRking View Post
Really ,guys its helped me
Like I said. No fucks given on my post. Even if it did help, like a lot of tutorials do, you learn the wrong thing, regardless if it worked or not.
  Reply With Quote
Old 25/01/2017, 04:45 PM   #30
Yaa
Banned
 
Join Date: May 2016
Location: = GetPlayerHouse("Yaa", 0.2);
Posts: 598
Reputation: 42
Default Re: Creating a simple register/save system using R41-2

Quote:
Originally Posted by GhostHacker9 View Post
Still not fixed login attempts.
what wrrong on it ?
Yaa 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] [TUT] Creating a Register System using Dini Eazy_Efolife Tutorials 192 20/08/2014 04:26 PM
Register System not creating file. rangerxxll Scripting Help 4 05/03/2013 09:09 PM
[Tutorial] Creating a dialog register/login system using Dini [NWA]Hannes Tutorials 3 17/06/2012 05:35 PM
Y_ini Register System Not Creating Files LeetModz Scripting Help 10 02/05/2012 09:04 PM
[Tutorial] Creating a simple register and login system. AcId n RaPiD Help Archive 0 21/11/2009 02:23 PM


All times are GMT. The time now is 05:25 AM.


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