SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 06/09/2014, 06:28 PM   #1
M0HAMMAD
Gangsta
 
M0HAMMAD's Avatar
 
Join Date: May 2014
Posts: 521
Reputation: 34
Default [Textdraw] Login And Register System

[Textdraw] Login And Register System
Information
Hi Every Body,
Today Me And My Friend Start This Project And After 20 Min We Done That !
We Hope This FilterScript Have No Bug, But If You Find Say Here.
Please Don't Change Credits.

What Is This
This Is A Login And Register System With Textdraw. [New Style]
We Use This Textdraw Like This :
When Player Spawned (OnPlayerSpawn) We Freeze Hem TogglePlayerControllable(playerid,0) And Unless,
After Login Or Register He Will Be UnFreeze TogglePlayerControllable(playerid,1)
When Player Die Again This Textdraw Show For Him ! You Can Do This :
pawn Code:
new Login[MAX_PLAYERS];
// OnPlayerConnect
Login[playerid] =1;
//OnPlayerSpawn
if(Login[playerid] == 1)
{
//Code In Note
return 1;
}
// In DIALOG_LOGIN
Login[playerid] =0;

Screenshots
Screenshot 1
Screenshot 2

Download
Pastebin

Credit(s)
[Phoenix-] (Me) - Creator
Hitman14 (Friend) - Creator
Team - Dark Orange

Note
We Don't Write The Code For Show Textdraw, This Is your Job For add Codes.
- Read "What Is This"
pawn Code:
TextDrawShowForPlayer(playerid , TDLoginUB);
TextDrawShowForPlayer(playerid , TDLogin);
TextDrawShowForPlayer(playerid , TDSiteUB);
TextDrawShowForPlayer(playerid , TDSite);
TextDrawShowForPlayer(playerid , TDRegUB);
TextDrawShowForPlayer(playerid , TDReg);
TextDrawShowForPlayer(playerid , TDName);
TextDrawShowForPlayer(playerid , TDBG);
TextDrawSetSelectable(TDLogin, 1);
TextDrawSetSelectable(TDReg, 1);
SelectTextDraw(playerid, 0xFF0000AA);
Use,Enjoy ! But Don't Change The Credits!
If You Want To +Rep The Creator's Rep Me Or My Partner Hitman14, He's Post Is #2
Attached Images
File Type: jpg sa-mp-002.jpg (183.6 KB, 2067 views)
File Type: jpg sa-mp-004.jpg (185.5 KB, 2172 views)

Last edited by M0HAMMAD; 07/09/2014 at 09:40 AM. Reason: Edit Pastebin Link.
M0HAMMAD is offline   Reply With Quote
Old 06/09/2014, 06:30 PM   #2
hitman14
Little Clucker
 
hitman14's Avatar
 
Join Date: Jul 2014
Posts: 31
Reputation: 4
Default Re: [Textdraw] Login And Register System

Good FilterScript, You Are Best Parnter
__________________
My Works:
Code:
[FilterScript]Thread Link  SkinShop With Npc
[FilterScript]Thread Link  My And My Friend Register & Login System With TextDraws
hitman14 is offline   Reply With Quote
Old 06/09/2014, 06:35 PM   #3
PrednizoN
Big Clucker
 
Join Date: Sep 2014
Posts: 71
Reputation: 1
Default Re: [Textdraw] Login And Register System

Good Work.Thanks
PrednizoN is offline   Reply With Quote
Old 06/09/2014, 08:02 PM   #4
M0HAMMAD
Gangsta
 
M0HAMMAD's Avatar
 
Join Date: May 2014
Posts: 521
Reputation: 34
Default Re: [Textdraw] Login And Register System

1.Thanks Prednizon
2.Some Body Tell me What You Do ? I Say To All : When Player Spawned ! Will Be Freeze TogglePlayerControllable(playerid,0) And He Must Select A TD ( Textdraw ) And When He Login Or Register He Will Be UnFreeze TogglePlayerControllable(playerid,1)
M0HAMMAD is offline   Reply With Quote
Old 06/09/2014, 10:34 PM   #5
Mckarlis
Gangsta
 
Mckarlis's Avatar
 
Join Date: Jun 2013
Location: England
Posts: 726
Reputation: 86
Default Re: [Textdraw] Login And Register System

Simple but nice!
__________________
Check out my ******* channel!!!! TGMotionz




Mckarlis is offline   Reply With Quote
Old 06/09/2014, 11:01 PM   #6
Team_PRO
High-roller
 
Join Date: Aug 2012
Location: Philippines
Posts: 1,818
Reputation: 87
Default Re: [Textdraw] Login And Register System

Quote:
Originally Posted by M0HAMMAD View Post
When Player Spawned ! Will Be Freeze TogglePlayerControllable(playerid,0) And He Must Select A TD ( Textdraw ) And When He Login Or Register He Will Be UnFreeze TogglePlayerControllable(playerid,1)
Might be a good idea
Team_PRO is offline   Reply With Quote
Old 07/09/2014, 08:21 AM   #7
M0HAMMAD
Gangsta
 
M0HAMMAD's Avatar
 
Join Date: May 2014
Posts: 521
Reputation: 34
Default Re: [Textdraw] Login And Register System

Team_PRO This IS A Good Idea Not Might
Mckarlis Thanks :X
M0HAMMAD is offline   Reply With Quote
Old 07/09/2014, 08:46 AM   #8
DovFlaminggo
Little Clucker
 
DovFlaminggo's Avatar
 
Join Date: Jun 2014
Location: Surakarta/Indonesia
Posts: 12
Reputation: 1
Default Re: [Textdraw] Login And Register System

Awesome !
__________________
Quote:
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
DovFlaminggo is offline   Reply With Quote
Old 07/09/2014, 09:37 AM   #9
M0HAMMAD
Gangsta
 
M0HAMMAD's Avatar
 
Join Date: May 2014
Posts: 521
Reputation: 34
Default Re: [Textdraw] Login And Register System

Thread Updated ! "What Is This" Changed
M0HAMMAD is offline   Reply With Quote
Old 08/09/2014, 11:09 AM   #10
amirab
Banned
 
Join Date: Apr 2013
Location: UK maybe :P
Posts: 500
Reputation: 69
Default Re: [Textdraw] Login And Register System

can be good but after more effort any way nice !
amirab 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
[FilterScript] Register & Login system (verification code + return password + auto login [by ip]) benel1 Filterscripts 20 26/11/2014 09:05 PM
Textdraw during login and register problem|shows only for login or register FireWarrior101 Scripting Help 6 05/10/2013 05:16 PM
Textdraw at login/register [FR]Fratzica Scripting Help 1 08/01/2013 04:00 PM


All times are GMT. The time now is 02:49 AM.


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