SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 13/01/2018, 09:07 PM   #1
MrCesar
Big Clucker
 
MrCesar's Avatar
 
Join Date: Sep 2016
Location: Under your bed ;)
Posts: 154
Reputation: 1
Default checking if the player is registered

hey guys, i am trying to check if the player is registered with this code:
Code:
forward SkipSpawn(playerid);
public OnPlayerRequestClass(playerid)
{
    TogglePlayerSpectating(playerid, true);
  	SetTimerEx("SkipSpawn",1,0,"i",playerid);
  	return 1;
}
public SkipSpawn(playerid)
{
    TogglePlayerControllable(playerid, 0);
    if(PlayerInfo[playerid][pRegistered] = 0)
    {
		SetTimerEx("OnPlayerInTutorial",5000,0,"ii",playerid,1);
	}
	else
	{
	    SpawnPlayer(playerid);
	}
  	return 1;
}
forward OnPlayerInTutorial(playerid,step);
public OnPlayerInTutorial(playerid,step)
{
    switch(step)
    {
        case 1:
        {
            //2nd message
            SendClientMessage(playerid,-1,"here the text 1");
            SetTimerEx("OnPlayerInTutorial",5000,0,"ii",playerid,2);
            return 1;
        }
        case 2:
        {
            //3rd message
            SendClientMessage(playerid,-1,"here the text 2");
            SetTimerEx("OnPlayerInTutorial",5000,0,"ii",playerid,3);
            return 1;
        }
        case 3:
        {
            //4th message
            SendClientMessage(playerid,-1,"here the text 3");
            SetTimerEx("OnPlayerInTutorial",5000,0,"ii",playerid,4);
            return 1;
        }
        case 4:
        {
            //last tutorial step
            SendClientMessage(playerid,-1,"here the text 4");
            SetTimerEx("OnPlayerInTutorial",5000,0,"ii",playerid,5);
            return 1;
        }
        case 5:
        {
            SendClientMessage(playerid,-1,"fin");
            SpawnPlayer(playerid);
            TogglePlayerControllable(playerid, 1);
            TogglePlayerSpectating(playerid, false);
            PlayerInfo[playerid][pRegistered] = 1;
            return 1;
        }
    }
    return 1;
}

and i am getting this warnings:
Code:
C:\Users\socky\Desktop\serv\gamemodes\serv.pwn(125) : warning 211: possibly unintended assignment
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


1 Warning.
what's causing that?
__________________
"The journey of a thousand miles begins with one step." - Lao Tzu
MrCesar is offline   Reply With Quote
Old 13/01/2018, 09:11 PM   #2
Dayrion
High-roller
 
Dayrion's Avatar
 
Join Date: Jan 2016
Location: France
Posts: 1,767
Reputation: 230
Default Re: checking if the player is registered

What's line is it?
__________________
actor_plus - v4.1.2
I'm a goner, somebody catch my breath,
I'm a goner, somebody catch my breath
Dayrion is offline   Reply With Quote
Old 13/01/2018, 10:18 PM   #3
Kaperstone
High-roller
 
Kaperstone's Avatar
 
Join Date: May 2011
Location: Russia
Posts: 3,354
Reputation: 822
Default Re: checking if the player is registered

if(PlayerInfo[playerid][pRegistered] = 0)

should have two ==
__________________
Kaperstone is online now   Reply With Quote
Old 14/01/2018, 10:49 AM   #4
MrCesar
Big Clucker
 
MrCesar's Avatar
 
Join Date: Sep 2016
Location: Under your bed ;)
Posts: 154
Reputation: 1
Default Re: checking if the player is registered

Quote:
Originally Posted by Kaperstone View Post
if(PlayerInfo[playerid][pRegistered] = 0)

should have two ==
thanks that fixed the warning but now when i log in i still see the tut even when i am registered :O

edit: i guess this:
Code:
PlayerInfo[playerid][pRegistered] = 1;
doesn't work as it doesn't change to 1 at scriptfiles :O
__________________
"The journey of a thousand miles begins with one step." - Lao Tzu
MrCesar is offline   Reply With Quote
Old 14/01/2018, 11:35 AM   #5
Runn3R
Huge Clucker
 
Runn3R's Avatar
 
Join Date: Dec 2013
Location: Croatia, Split
Posts: 388
Reputation: 35
Default Re: checking if the player is registered

Where do you even save the pRegistered value in the script? I don't see the code.
Runn3R is offline   Reply With Quote
Old 14/01/2018, 12:58 PM   #6
MrCesar
Big Clucker
 
MrCesar's Avatar
 
Join Date: Sep 2016
Location: Under your bed ;)
Posts: 154
Reputation: 1
Default Re: checking if the player is registered

Quote:
Originally Posted by Runn3R View Post
Where do you even save the pRegistered value in the script? I don't see the code.
here's my code:

Code:
// ---------------------------- [ SA:MP Defines ] ----------------------------//
#include <a_samp>
#include <izcmd>
#include <streamer>
#include <sscanf2>
#include <YSI\y_ini>
#include <a_mysql>
#include <foreach>
// ---------------------------- [ Registration ] -----------------------------//
#define DIALOG_REGISTER 1
#define DIALOG_LOGIN 2
#define DIALOG_SUCCESS_1 3
#define DIALOG_SUCCESS_2 4
// ------------------------------ [ User Path ] ------------------------------//
#define PATH "/Users/%s.ini"
// -------------------------------- [ Colors ] -------------------------------//
#define        COL_WHITE                "{FFFFFF}"
#define        COL_BLACK                "{000000}"
#define        COL_LIGHTRED             "{FF6161}"
#define        COL_RED                  "{FF0000}"
#define        COL_DARKRED              "{870000}"
#define        COL_LIGHTGREEN           "{00F22C}"
#define        COL_GREEN                "{0BD400}"
#define        COL_DARKGREEN            "{007516}"
#define        COL_LIGHTBLUE            "{00FFFF}"
#define        COL_BLUE                 "{004CF0}"
#define        COL_DARKBLUE             "{002F94}"
#define        COL_ORANGE               "{DE8D00}"
// ----------------------------- [ Player Info. ] ----------------------------//
enum pInfo
{
    pPass,
    pRegistered,
    pCash,
    pAdmin,
    pVip,
    pKills,
    pDeaths
}
new PlayerInfo[MAX_PLAYERS][pInfo];
// ---------------------------- [ Y_INI Defines ] ----------------------------//
forward LoadUser_data(playerid,name[],value[]);
public LoadUser_data(playerid,name[],value[])
{
	INI_Int("Password",PlayerInfo[playerid][pPass]);
	INI_Int("Registered",PlayerInfo[playerid][pRegistered]);
	INI_Int("Cash",PlayerInfo[playerid][pCash]);
	INI_Int("Admin",PlayerInfo[playerid][pAdmin]);
	INI_Int("Vip",PlayerInfo[playerid][pVip]);
	INI_Int("Kills",PlayerInfo[playerid][pKills]);
    INI_Int("Deaths",PlayerInfo[playerid][pDeaths]);
 	return 1;
}
// ------------------------------ [ Stocking ] -------------------------------//
stock UserPath(playerid)
{
	new string[128],playername[MAX_PLAYER_NAME];
	GetPlayerName(playerid,playername,sizeof(playername));
	format(string,sizeof(string),PATH,playername);
	return string;
}
// ----------------------------- [ Encryption ] ------------------------------//
stock udb_hash(buf[]) {
	new length=strlen(buf);
    new s1 = 1;
    new s2 = 0;
    new n;
    for (n=0; n<length; n++)
    {
       s1 = (s1 + buf[n]) % 65521;
       s2 = (s2 + s1)     % 65521;
    }
    return (s2 << 16) + s1;
}
// ---------------------------- [ SA:MP Defines ] ----------------------------//
new PlayerText:TDEditor_PTD[MAX_PLAYERS][128];
// ------------------------------ [ Gamemode ] -------------------------------//

public OnGameModeInit()
{
	SetGameModeText("PC-RP v2.1");
	AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	
	
// ------------------------------- [ Mappings ] ------------------------------//



	


//----------------------------------------------------------------------------//



	return 1;
}

public OnGameModeExit()
{
	return 1;
}

forward SkipSpawn(playerid);
public OnPlayerRequestClass(playerid)
{
    TogglePlayerSpectating(playerid, true);
  	SetTimerEx("SkipSpawn",1,0,"i",playerid);
  	return 1;
}
public SkipSpawn(playerid)
{
    TogglePlayerControllable(playerid, 0);
    if(PlayerInfo[playerid][pRegistered] == 0)
    {
		SetTimerEx("OnPlayerInTutorial",5000,0,"ii",playerid,1);
	}
	else
	{
	    SpawnPlayer(playerid);
	}
  	return 1;
}
forward OnPlayerInTutorial(playerid,step);
public OnPlayerInTutorial(playerid,step)
{
    switch(step)
    {
        case 1:
        {
            //2nd message
            SendClientMessage(playerid,-1,"here the text 1");
            SetTimerEx("OnPlayerInTutorial",5000,0,"ii",playerid,2);
            return 1;
        }
        case 2:
        {
            //3rd message
            SendClientMessage(playerid,-1,"here the text 2");
            SetTimerEx("OnPlayerInTutorial",5000,0,"ii",playerid,3);
            return 1;
        }
        case 3:
        {
            //4th message
            SendClientMessage(playerid,-1,"here the text 3");
            SetTimerEx("OnPlayerInTutorial",5000,0,"ii",playerid,4);
            return 1;
        }
        case 4:
        {
            //last tutorial step
            SendClientMessage(playerid,-1,"here the text 4");
            SetTimerEx("OnPlayerInTutorial",5000,0,"ii",playerid,5);
            return 1;
        }
        case 5:
        {
            SendClientMessage(playerid,-1,"fin");
            SpawnPlayer(playerid);
            TogglePlayerControllable(playerid, 1);
            TogglePlayerSpectating(playerid, false);
            PlayerInfo[playerid][pRegistered] = 1;
            return 1;
        }
    }
    return 1;
}

public OnPlayerConnect(playerid)
{

// ------------------------------- [ Mappings ] ------------------------------//

    /*CreateVehicle(407, 2204.8120, -85.2808, 26.6279, 270.0000, -1, -1, 100);
	CreateVehicle(407, 2204.8120, -76.4522, 26.6279, 270.0000, -1, -1, 100);
	CreateVehicle(407, 2204.8120, -67.6462, 26.6279, 270.0000, -1, -1, 100);
	CreateVehicle(544, 2208.2239, -59.3425, 26.6279, 270.0000, -1, -1, 100);
	CreateVehicle(544, 2208.2239, -50.7004, 26.6279, 270.0000, -1, -1, 100);
	CreateVehicle(544, 2208.2239, -42.2208, 26.6279, 270.0000, -1, -1, 100);
	CreateVehicle(416, 2260.4158, -130.6126, 27.0190, 90.0000, -1, -1, 100);
	CreateVehicle(416, 2259.9192, -118.5463, 27.0190, 90.0000, -1, -1, 100);
	CreateVehicle(416, 2259.7764, -142.0048, 27.0190, 90.0000, -1, -1, 100);
	CreateVehicle(416, 2236.6218, -139.8172, 27.0190, 0.0000, -1, -1, 100);
	CreateVehicle(462, 2241.0955, -142.0227, 26.2670, 0.0000, -1, -1, 100);
	CreateVehicle(462, 2244.6165, -142.0850, 26.2670, 0.0000, -1, -1, 100);
	CreateVehicle(462, 2248.3071, -141.9344, 26.2670, 0.0000, -1, -1, 100);
	CreateVehicle(505, 2236.6313, -130.3145, 26.8877, 0.0000, -1, -1, 100);
	CreateVehicle(505, 2236.6313, -122.5209, 26.8877, 0.0000, -1, -1, 100);
	CreateVehicle(595, 2247.8994, -165.1293, 0.6979, 81.0000, -1, -1, 100);
	CreateVehicle(595, 2251.1526, -182.4819, 0.6979, 81.0000, -1, -1, 100);
	CreateVehicle(472, 2261.0720, -209.8478, 1.2051, 120.9000, -1, -1, 100);
	CreateVehicle(472, 2264.5000, -216.8592, 1.2051, 96.4200, -1, -1, 100);
	CreateVehicle(472, 2265.1516, -224.8332, 1.2051, 96.4200, -1, -1, 100);
	CreateVehicle(472, 2265.2703, -232.9176, 1.2051, 77.7000, -1, -1, 100);
	CreateVehicle(417, 2302.2451, -167.5572, 41.7483, -92.1000, -1, -1, 100);
	CreateVehicle(416, 2283.0078, -110.2178, 27.0190, 0.0000, -1, -1, 100);
	CreateVehicle(416, 2328.3137, -110.5860, 27.0190, 0.0000, -1, -1, 100);
	CreateVehicle(468, 2152.5635, -102.2332, 2.2569, 94.0801, -1, -1, 100);
	CreateVehicle(505, 2236.6313, -114.5368, 26.8877, 0.0000, -1, -1, 100);
	CreateVehicle(463, 2451.6877, 84.0008, 26.0703, 0.0000, -1, -1, 100);
	CreateVehicle(463, 2449.1438, 83.9921, 26.0703, 0.0000, -1, -1, 100);
	CreateVehicle(463, 2443.6619, 83.8100, 26.0703, 0.0000, -1, -1, 100);
	CreateVehicle(466, 2426.4153, 85.6691, 26.3171, 0.0000, -1, -1, 100);*/


//----------------------------------------------------------------------------//



// ------------------------------ [ Textdraws ] ------------------------------//

	//  Login Screen  //
    TDEditor_PTD[playerid][0] = CreatePlayerTextDraw(playerid, -13.749957, -0.814864, "__~n~~n~~n~~n~~n~~n~~n~");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][0], 0.400000, 1.600000);
	PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][0], 656.000000, 0.000000);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][0], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][0], -49665);
	PlayerTextDrawUseBox(playerid, TDEditor_PTD[playerid][0], 1);
	PlayerTextDrawBoxColor(playerid, TDEditor_PTD[playerid][0], 140);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][0], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][0], 0);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][0], -1995243265);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][0], 1);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][0], 0);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][0], 0);

	TDEditor_PTD[playerid][1] = CreatePlayerTextDraw(playerid, 240.416687, 12.666644, "Palomino_Creek");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][1], 0.576249, 3.129621);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][1], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][1], -8716033);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][1], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][1], 1);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][1], -16776961);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][1], 2);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][1], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][1], 0);

	TDEditor_PTD[playerid][2] = CreatePlayerTextDraw(playerid, 352.083312, 29.259273, "Roleplay~n~");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][2], 1.018749, 2.901479);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][2], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][2], -1946156801);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][2], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][2], 1);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][2], 13303807);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][2], 0);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][2], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][2], 0);

	TDEditor_PTD[playerid][3] = CreatePlayerTextDraw(playerid, 333.000000, 42.000000, "]");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][3], 0.400000, 1.600000);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][3], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][3], -11534081);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][3], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][3], 0);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][3], 255);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][3], 0);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][3], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][3], 0);

	TDEditor_PTD[playerid][4] = CreatePlayerTextDraw(playerid, 314.598876, 42.000000, "]");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][4], 0.400000, 1.600000);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][4], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][4], -11534081);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][4], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][4], 0);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][4], 255);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][4], 0);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][4], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][4], 0);

	TDEditor_PTD[playerid][5] = CreatePlayerTextDraw(playerid, 295.597717, 42.000000, "]");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][5], 0.400000, 1.600000);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][5], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][5], -11534081);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][5], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][5], 0);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][5], 255);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][5], 0);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][5], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][5], 0);

	TDEditor_PTD[playerid][6] = CreatePlayerTextDraw(playerid, 274.796447, 42.000000, "]");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][6], 0.400000, 1.600000);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][6], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][6], -11534081);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][6], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][6], 0);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][6], 255);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][6], 0);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][6], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][6], 0);

	TDEditor_PTD[playerid][7] = CreatePlayerTextDraw(playerid, 253.295135, 42.000000, "]");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][7], 0.400000, 1.600000);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][7], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][7], -11534081);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][7], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][7], 0);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][7], 255);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][7], 0);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][7], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][7], 0);

	TDEditor_PTD[playerid][8] = CreatePlayerTextDraw(playerid, 233.193908, 42.000000, "]");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][8], 0.400000, 1.600000);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][8], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][8], -11534081);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][8], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][8], 0);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][8], 255);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][8], 0);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][8], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][8], 0);

	TDEditor_PTD[playerid][9] = CreatePlayerTextDraw(playerid, 224.000000, 70.000000, "By_roleplayers_for_roleplayers");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][9], 0.457915, 1.356297);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][9], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][9], -1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][9], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][9], 1);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][9], 2046820607);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][9], 3);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][9], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][9], 0);

	TDEditor_PTD[playerid][10] = CreatePlayerTextDraw(playerid, 236.000000, 8.000000, "v.2.1");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][10], 0.243332, 0.915555);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][10], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][10], -1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][10], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][10], 0);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][10], 255);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][10], 2);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][10], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][10], 0);

	TDEditor_PTD[playerid][11] = CreatePlayerTextDraw(playerid, -13.267527, 320.074066, "__~n~~n~~n~~n~~n~~n~");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][11], 0.400000, 1.600000);
	PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][11], 684.000000, 0.000000);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][11], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][11], -1);
	PlayerTextDrawUseBox(playerid, TDEditor_PTD[playerid][11], 1);
	PlayerTextDrawBoxColor(playerid, TDEditor_PTD[playerid][11], 145);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][11], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][11], 0);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][11], 255);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][11], 1);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][11], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][11], 0);

	TDEditor_PTD[playerid][12] = CreatePlayerTextDraw(playerid, -14.583337, 315.481445, "_");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][12], 0.400000, 1.600000);
	PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][12], 675.000000, 0.000000);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][12], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][12], -1);
	PlayerTextDrawUseBox(playerid, TDEditor_PTD[playerid][12], 1);
	PlayerTextDrawBoxColor(playerid, TDEditor_PTD[playerid][12], 255);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][12], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][12], 0);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][12], 255);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][12], 1);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][12], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][12], 0);

	TDEditor_PTD[playerid][13] = CreatePlayerTextDraw(playerid, 249.000000, 318.000000, "PC-RP_-_Message_of_the_day");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][13], 0.307915, 1.014073);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][13], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][13], -1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][13], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][13], 0);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][13], 255);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][13], 2);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][13], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][13], 0);

	TDEditor_PTD[playerid][14] = CreatePlayerTextDraw(playerid, 268.833221, 334.037048, "Welcome_roleplayers!_");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][14], 0.278749, 1.086667);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][14], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][14], 16777215);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][14], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][14], 0);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][14], 255);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][14], 2);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][14], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][14], 0);

	TDEditor_PTD[playerid][15] = CreatePlayerTextDraw(playerid, 148.000000, 350.000000, "A_few_quick_reminders_for_everyone_playing_here_-");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][15], 0.213750, 0.884443);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][15], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][15], -1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][15], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][15], 0);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][15], 255);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][15], 2);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][15], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][15], 0);

	TDEditor_PTD[playerid][16] = CreatePlayerTextDraw(playerid, 148.199951, 361.799987, "1_-_Enjoy!_Seriously!");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][16], 0.213332, 1.008888);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][16], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][16], 8388863);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][16], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][16], 0);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][16], 255);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][16], 2);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][16], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][16], 0);

	TDEditor_PTD[playerid][17] = CreatePlayerTextDraw(playerid, 147.000000, 372.000000, "2_-_/report_-");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][17], 0.234583, 1.071112);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][17], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][17], -2147483393);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][17], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][17], 0);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][17], 255);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][17], 2);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][17], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][17], 0);

	TDEditor_PTD[playerid][18] = CreatePlayerTextDraw(playerid, 213.100555, 371.800659, "anyone_who_you_think_is_breaking_rules_or_cheating.");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][18], 0.202500, 0.936295);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][18], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][18], -1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][18], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][18], 0);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][18], 255);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][18], 2);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][18], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][18], 0);

	TDEditor_PTD[playerid][19] = CreatePlayerTextDraw(playerid, 147.399963, 382.400695, "3_-_/help_-");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][19], 0.203333, 1.034816);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][19], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][19], -65281);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][19], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][19], 0);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][19], 255);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][19], 2);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][19], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][19], 0);

	TDEditor_PTD[playerid][20] = CreatePlayerTextDraw(playerid, 147.499908, 393.300018, "4_-_/rules_-_");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][20], 0.203333, 1.034816);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][20], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][20], -1523963137);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][20], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][20], 0);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][20], 255);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][20], 2);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][20], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][20], 0);

	TDEditor_PTD[playerid][21] = CreatePlayerTextDraw(playerid, 193.000000, 382.000000, "to_see_a_full_list_of_the_available_commands.");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][21], 0.202500, 0.936295);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][21], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][21], -1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][21], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][21], 0);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][21], 255);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][21], 2);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][21], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][21], 0);

	TDEditor_PTD[playerid][22] = CreatePlayerTextDraw(playerid, 198.100311, 392.700653, "to_see_a_full_list_of_the_server_rules.");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][22], 0.202500, 0.936295);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][22], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][22], -1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][22], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][22], 0);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][22], 255);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][22], 2);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][22], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][22], 0);

	TDEditor_PTD[playerid][23] = CreatePlayerTextDraw(playerid, 526.517028, 360.318511, "www.pc-rp.net");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][23], 0.283333, 1.294072);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][23], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][23], -1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][23], 2);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][23], 0);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][23], 255);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][23], 2);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][23], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][23], 2);

	TDEditor_PTD[playerid][25] = CreatePlayerTextDraw(playerid, 33.749969, 342.963043, "discord");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][25], 0.206666, 1.076296);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][25], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][25], -1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][25], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][25], 0);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][25], 255);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][25], 2);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][25], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][25], 0);

	TDEditor_PTD[playerid][26] = CreatePlayerTextDraw(playerid, 29.166639, 362.860137, "********");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][26], 0.206666, 1.076296);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][26], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][26], -1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][26], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][26], 0);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][26], 255);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][26], 2);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][26], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][26], 0);

	TDEditor_PTD[playerid][27] = CreatePlayerTextDraw(playerid, 32.916633, 386.086730, "*******");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][27], 0.206666, 1.076296);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][27], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][27], -1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][27], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][27], 0);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][27], 255);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][27], 2);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][27], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][27], 0);

	TDEditor_PTD[playerid][28] = CreatePlayerTextDraw(playerid, 290.000000, 190.000000, "");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][28], 0.400000, 1.600000);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][28], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][28], -1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][28], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][28], 0);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][28], 255);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][28], 0);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][28], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][28], 0);

	TDEditor_PTD[playerid][29] = CreatePlayerTextDraw(playerid, 22.215541, 342.840698, "]");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][29], 0.279583, 1.117778);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][29], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][29], 16777215);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][29], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][29], 0);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][29], 255);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][29], 0);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][29], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][29], 0);

	TDEditor_PTD[playerid][30] = CreatePlayerTextDraw(playerid, 71.614974, 342.840698, "]");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][30], 0.279583, 1.117778);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][30], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][30], 16777215);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][30], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][30], 0);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][30], 255);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][30], 0);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][30], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][30], 0);

	TDEditor_PTD[playerid][31] = CreatePlayerTextDraw(playerid, 75.114921, 362.441894, "]");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][31], 0.279583, 1.117778);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][31], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][31], 16777215);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][31], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][31], 0);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][31], 255);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][31], 0);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][31], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][31], 0);

	TDEditor_PTD[playerid][32] = CreatePlayerTextDraw(playerid, 17.715524, 362.441894, "]");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][32], 0.279583, 1.117778);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][32], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][32], 16777215);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][32], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][32], 0);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][32], 255);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][32], 0);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][32], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][32], 0);

	TDEditor_PTD[playerid][33] = CreatePlayerTextDraw(playerid, 21.882186, 386.279510, "]");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][33], 0.279583, 1.117778);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][33], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][33], 16777215);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][33], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][33], 0);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][33], 255);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][33], 0);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][33], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][33], 0);

	TDEditor_PTD[playerid][34] = CreatePlayerTextDraw(playerid, 70.215492, 385.760986, "]");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][34], 0.279583, 1.117778);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][34], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][34], 16777215);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][34], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][34], 0);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][34], 255);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][34], 0);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][34], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][34], 0);
	
	//  Streaming Objects  //
	TDEditor_PTD[playerid][35] = CreatePlayerTextDraw(playerid, 188.333267, 172.370285, "__~n~~n~~n~~n~~n~");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][35], 0.400000, 1.600000);
	PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][35], 439.000000, 0.000000);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][35], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][35], -1);
	PlayerTextDrawUseBox(playerid, TDEditor_PTD[playerid][35], 1);
	PlayerTextDrawBoxColor(playerid, TDEditor_PTD[playerid][35], 104);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][35], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][35], 0);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][35], 255);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][35], 1);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][35], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][35], 0);

	TDEditor_PTD[playerid][36] = CreatePlayerTextDraw(playerid, 188.333297, 167.185134, "_");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][36], 0.554583, 1.703703);
	PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][36], 439.000000, 0.000000);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][36], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][36], -1);
	PlayerTextDrawUseBox(playerid, TDEditor_PTD[playerid][36], 1);
	PlayerTextDrawBoxColor(playerid, TDEditor_PTD[playerid][36], 255);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][36], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][36], 0);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][36], 255);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][36], 1);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][36], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][36], 0);

	TDEditor_PTD[playerid][37] = CreatePlayerTextDraw(playerid, 202.950378, 168.740692, "Palomino_Creek_Roleplay_-_loading");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][37], 0.283750, 1.169630);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][37], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][37], 0xD66B00FF);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][37], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][37], 0);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][37], 255);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][37], 2);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][37], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][37], 0);

	TDEditor_PTD[playerid][38] = CreatePlayerTextDraw(playerid, 213.333358, 197.777770, "Please_wait_a_brief_moment_as_");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][38], 0.293333, 0.982963);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][38], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][38], -1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][38], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][38], 0);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][38], 255);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][38], 2);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][38], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][38], 0);

	TDEditor_PTD[playerid][39] = CreatePlayerTextDraw(playerid, 222.083312, 212.463531, "we_finish");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][39], 0.293333, 0.982963);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][39], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][39], -1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][39], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][39], 0);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][39], 255);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][39], 2);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][39], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][39], 0);

	TDEditor_PTD[playerid][40] = CreatePlayerTextDraw(playerid, 284.887145, 212.363525, "streaming_objects.");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][40], 0.293332, 0.982963);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][40], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][40], -5963521);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][40], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][40], 0);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][40], 255);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][40], 2);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][40], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][40], 0);

	TDEditor_PTD[playerid][41] = CreatePlayerTextDraw(playerid, 197.266372, 236.666748, "_____________This_will_take_around_three_seconds");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][41], 0.188749, 0.765184);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][41], 1);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][41], 8388863);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][41], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][41], 1);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][41], 255);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][41], 2);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][41], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][41], 0);

//----------------------------------------------------------------------------//


// ---------------------------- [ Login Screen ] -----------------------------//
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][34]);
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][33]);
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][32]);
	PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][31]);
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][30]);
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][29]);
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][28]);
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][27]);
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][26]);
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][25]);
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][23]);
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][22]);
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][21]);
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][20]);
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][19]);
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][18]);
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][17]);
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][16]);
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][15]);
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][14]);
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][13]);
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][12]);
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][11]);
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][10]);
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][9]);
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][8]);
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][7]);
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][6]);
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][5]);
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][4]);
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][3]);
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][2]);
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][1]);
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][0]);
//----------------------------------------------------------------------------//
	if(fexist(UserPath(playerid)))
	{
		INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
  		ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD,""COL_ORANGE"Welcome back to Palomino Creek Roleplay!",""COL_WHITE"Seems like your account is already registered.\nPlease enter your password below to log-in.\n\nIf your password is lost, please contact management at: "COL_LIGHTRED"http://pc-rp.net.","Login","Quit");
	}
	else
	{
 		ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD,""COL_ORANGE"Palomino Creek Roleplay - Registration",""COL_WHITE"Welcome to "COL_ORANGE"Palomino Creek Roleplay!"COL_WHITE" A role-play community made by "COL_LIGHTRED"roleplayers for roleplayers!"COL_WHITE"\n\nInput below a password of your choise, make sure it's a "COL_ORANGE"unique password"COL_WHITE" to you.\nIf your password is lost, please contact management at: "COL_LIGHTRED"http://pc-rp.net.","Register","Quit");
	}
	return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
	new INI:File = INI_Open(UserPath(playerid));
	INI_SetTag(File,"data");
	INI_WriteInt(File,"Cash",GetPlayerMoney(playerid));
	INI_WriteInt(File,"Admin",PlayerInfo[playerid][pAdmin]);
	INI_WriteInt(File,"Vip",PlayerInfo[playerid][pVip]);
	INI_WriteInt(File,"Kills",PlayerInfo[playerid][pKills]);
	INI_WriteInt(File,"Deaths",PlayerInfo[playerid][pDeaths]);
	INI_Close(File);
	return 1;
}

public OnPlayerSpawn(playerid)
{
// ---------------------------- [ Login Screen ] -----------------------------//
	PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][34]);
	PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][33]);
	PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][32]);
	PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][31]);
	PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][30]);
    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][29]);
    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][28]);
    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][27]);
    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][26]);
    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][25]);
    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][23]);
    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][22]);
    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][21]);
    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][20]);
    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][19]);
    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][18]);
 	PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][17]);
  	PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][16]);
   	PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][15]);
   	PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][14]);
   	PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][13]);
   	PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][12]);
   	PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][11]);
   	PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][10]);
   	PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][9]);
   	PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][8]);
   	PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][7]);
   	PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][6]);
   	PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][5]);
   	PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][4]);
   	PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][3]);
   	PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][2]);
   	PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][1]);
   	PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][0]);
// ---------------------------- [ Spawn Freeze ] -----------------------------//
   	SetTimerEx("SpawnUnfreeze",3500,0,"d",playerid);
   	TogglePlayerControllable(playerid, 0);
   	PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][41]);
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][40]);
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][39]);
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][38]);
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][37]);
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][36]);
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][35]);
//----------------------------------------------------------------------------//
	return 1;
}

// ---------------------------- [ Spawn Freeze ] -----------------------------//
forward SpawnUnfreeze(playerid);
public SpawnUnfreeze(playerid)
{
   	TogglePlayerControllable(playerid,1);
   	PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][41]);
   	PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][40]);
   	PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][39]);
	PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][38]);
   	PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][37]);
   	PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][36]);
   	PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][35]);
   	return 1;
}
//----------------------------------------------------------------------------//

public OnPlayerDeath(playerid, killerid, reason)
{
	PlayerInfo[killerid][pKills]++;
	PlayerInfo[playerid][pDeaths]++;
	return 1;
}

public OnVehicleSpawn(vehicleid)
{
	return 1;
}

public OnVehicleDeath(vehicleid, killerid)
{
	return 1;
}

public OnPlayerText(playerid, text[])
{
	return 1;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
	return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
	return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate)
{
	return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
	return 1;
}

public OnPlayerLeaveCheckpoint(playerid)
{
	return 1;
}

public OnPlayerEnterRaceCheckpoint(playerid)
{
	return 1;
}

public OnPlayerLeaveRaceCheckpoint(playerid)
{
	return 1;
}

public OnRconCommand(cmd[])
{
	return 1;
}

public OnPlayerRequestSpawn(playerid)
{
	return 1;
}

public OnObjectMoved(objectid)
{
	return 1;
}

public OnPlayerObjectMoved(playerid, objectid)
{
	return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
	return 1;
}

public OnVehicleMod(playerid, vehicleid, componentid)
{
	return 1;
}

public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
	return 1;
}

public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
	return 1;
}

public OnPlayerSelectedMenuRow(playerid, row)
{
	return 1;
}

public OnPlayerExitedMenu(playerid)
{
	return 1;
}

public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
	return 1;
}

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
	return 1;
}

public OnRconLoginAttempt(ip[], password[], success)
{
	return 1;
}

public OnPlayerUpdate(playerid)
{
	return 1;
}

public OnPlayerStreamIn(playerid, forplayerid)
{
	return 1;
}

public OnPlayerStreamOut(playerid, forplayerid)
{
	return 1;
}

public OnVehicleStreamIn(vehicleid, forplayerid)
{
	return 1;
}

public OnVehicleStreamOut(vehicleid, forplayerid)
{
	return 1;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    switch( dialogid )
    {
        case DIALOG_REGISTER:
        {
            if (!response) return Kick(playerid);
            if(response)
            {
                if(!strlen(inputtext)) return ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD,""COL_ORANGE"Palomino Creek Roleplay - Registration",""COL_WHITE"You've entered a wrong password, please try a new one.\nIf your password is lost, please contact management at: "COL_LIGHTRED"http://pc-rp.net.","Register","Quit");
                new INI:File = INI_Open(UserPath(playerid));
                INI_SetTag(File,"data");
                INI_WriteInt(File,"Password",udb_hash(inputtext));
                INI_WriteInt(File,"Registered",0);
                INI_WriteInt(File,"Cash",0);
                INI_WriteInt(File,"Admin",0);
                INI_WriteInt(File,"Vip",0);
                INI_WriteInt(File,"Kills",0);
                INI_WriteInt(File,"Deaths",0);
                INI_Close(File);
// ---------------------------- [ Login Screen ] -----------------------------//
                PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][34]);
				PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][33]);
				PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][32]);
				PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][31]);
				PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][30]);
	   			PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][29]);
			    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][28]);
			    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][27]);
			    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][26]);
			    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][25]);
     			PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][23]);
			    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][22]);
			    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][21]);
			    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][20]);
			    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][19]);
			    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][18]);
			    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][17]);
			    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][16]);
			    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][15]);
			    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][14]);
			    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][13]);
			    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][12]);
			    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][11]);
			    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][10]);
			    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][9]);
			    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][8]);
			    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][7]);
			    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][6]);
			    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][5]);
			    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][4]);
			    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][3]);
			    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][2]);
			    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][1]);
			    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][0]);
//----------------------------------------------------------------------------//
			}
        }

        case DIALOG_LOGIN:
        {
            if ( !response ) return Kick ( playerid );
            if( response )
            {
                if(udb_hash(inputtext) == PlayerInfo[playerid][pPass])
                {
                    INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
                    GivePlayerMoney(playerid, PlayerInfo[playerid][pCash]);
// ---------------------------- [ Login Screen ] -----------------------------//
                    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][34]);
					PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][33]);
					PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][32]);
					PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][31]);
					PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][30]);
				    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][29]);
				    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][28]);
				    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][27]);
				    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][26]);
				    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][25]);
                    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][23]);
				    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][22]);
				    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][21]);
				    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][20]);
				    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][19]);
				    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][18]);
				    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][17]);
				    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][16]);
				    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][15]);
				    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][14]);
				    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][13]);
				    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][12]);
				    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][11]);
				    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][10]);
				    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][9]);
				    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][8]);
				    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][7]);
				    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][6]);
				    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][5]);
				    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][4]);
				    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][3]);
				    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][2]);
				    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][1]);
				    PlayerTextDrawHide(playerid, TDEditor_PTD[playerid][0]);
//----------------------------------------------------------------------------//
                }
                else
                {
                    ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD,""COL_ORANGE"Welcome back to Palomino Creek Roleplay!",""COL_RED"\nWhoops..something went wrong.\n\n"COL_WHITE"Seems like the password you entered "COL_LIGHTRED"doesn't match"COL_WHITE" the password we have saved.\nIf your password is lost, please contact management at: "COL_LIGHTRED"http://pc-rp.net.","Login","Quit");
                }
                return 1;
            }
        }
    }
    return 1;
}
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
	return 1;
}

CMD:givemecash(playerid, params[])
{
	GivePlayerMoney(playerid, 99999);
	return 1;
}

CMD:takemycash(playerid, params[])
{
	GivePlayerMoney(playerid, -20000);
	return 1;
}
CMD:gotopc(playerid, params[])
{
	SetPlayerPos(playerid, 2229.6411,-36.8571,26.4844);
	return 1;
}
__________________
"The journey of a thousand miles begins with one step." - Lao Tzu
MrCesar is offline   Reply With Quote
Old 15/01/2018, 09:04 AM   #7
MrCesar
Big Clucker
 
MrCesar's Avatar
 
Join Date: Sep 2016
Location: Under your bed ;)
Posts: 154
Reputation: 1
Default Re: checking if the player is registered

anyone? :O
__________________
"The journey of a thousand miles begins with one step." - Lao Tzu
MrCesar 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
How can I check if the player is registered? DuyDang2412 Scripting Help 8 02/03/2017 08:35 AM
Command for checking who is registered on that ip justjamie Scripting Help 2 23/05/2016 09:42 AM
last registered player mysql COL Scripting Help 4 30/01/2014 10:44 AM
When logging in, it says that the player is already registered even if he's not Obcido Scripting Help 6 16/09/2013 11:03 AM


All times are GMT. The time now is 12:51 PM.


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