You are on page 1of 28

<ENUM>

enum pInfo

Admin,

Senha[24],

Dinheiro,

Trabalho,

Org,

Cargo,

HabA,

HabB,

Skin,

RG,

CPF,

Yt,

Celular,

Fome,

Sede,

new pInfo[MAX_PLAYERS][InfoPlayer];

</enum>

<Dialog>

#define DIALOG_CELULAR 7

</Dialog>

<TEXTDRAW>

new PlayerText:CelularTD[MAX_PLAYERS][59];

</TEXTDRAW>

<TABELA DE JOGADORES>

//======================[Tabelas Contas
Jogadores]================================//

Database = db_open("BCBRP.db");

new Query[480];
format(Query, sizeof(Query),"CREATE TABLE IF NOT EXISTS Contas (Id INTEGER
PRIMARY KEY AUTOINCREMENT, Nome TEXT DEFAULT '', Senha TEXT DEFAULT '',\

Admin INT, Dinheiro INT, Trabalho INT, Org INT, Cargo INT, Estrelas INT, Yt INT,\

Celular INT,Fome INT,Sede INT, DinheiroBanco INT, HabA INT, HabB INT,Skin INT, RG
INT,\

Nivel INT)");

db_query(Database, Query);

pInfo[playerid][Empresa] = dini_Int(getAccount(playerid), "Empresa");

</Tabela de jogadores>

<Venda no 24/7>

Create3DTextLabel("{1E90FF}Celular\n{808080}Aperte 'H'", 0x669999AA, 1352.6971,-


1768.2841,13.5407, 25.0, 0, 0);

AddStaticPickup(1239, 23,1352.6971,-1768.2841,13.5407);

</venda no 24/7>

<Criação do TextDraw>

//====================[Celular]===================================//

CelularTD[playerid][0] = CreatePlayerTextDraw(playerid, 416.332611, 194.666641,


"LD_SPAC:white");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][0], 4.000000, 186.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][0], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][0], -1);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][0], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][0], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][0], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][0], 0);

CelularTD[playerid][1] = CreatePlayerTextDraw(playerid, 509.099761, 195.249984,


"LD_SPAC:white");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][1], 4.000000, 185.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][1], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][1], -1);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][1], 0);


PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][1], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][1], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][1], 0);

CelularTD[playerid][2] = CreatePlayerTextDraw(playerid, 420.080841, 189.416656,


"LD_SPAC:white");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][2], 90.000000, 7.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][2], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][2], -1);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][2], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][2], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][2], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][2], 0);

CelularTD[playerid][3] = CreatePlayerTextDraw(playerid, 420.080841, 379.583282,


"LD_SPAC:white");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][3], 90.000000, 7.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][3], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][3], -1);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][3], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][3], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][3], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][3], 0);

CelularTD[playerid][4] = CreatePlayerTextDraw(playerid, 413.989990, 186.500015,


"ld_beat:chit");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][4], 14.000000, 16.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][4], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][4], -1);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][4], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][4], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][4], 4);


PlayerTextDrawSetProportional(playerid, CelularTD[playerid][4], 0);

CelularTD[playerid][5] = CreatePlayerTextDraw(playerid, 501.603485, 186.500015,


"ld_beat:chit");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][5], 14.000000, 16.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][5], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][5], -1);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][5], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][5], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][5], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][5], 0);

CelularTD[playerid][6] = CreatePlayerTextDraw(playerid, 414.458251, 373.166748,


"ld_beat:chit");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][6], 14.000000, 16.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][6], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][6], -1);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][6], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][6], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][6], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][6], 0);

CelularTD[playerid][7] = CreatePlayerTextDraw(playerid, 501.603332, 373.166748,


"ld_beat:chit");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][7], 14.000000, 16.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][7], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][7], -1);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][7], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][7], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][7], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][7], 0);


CelularTD[playerid][8] = CreatePlayerTextDraw(playerid, 420.080810, 195.250000,
"LD_SPAC:white");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][8], 90.000000, 188.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][8], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][8], -1);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][8], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][8], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][8], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][8], 0);

CelularTD[playerid][9] = CreatePlayerTextDraw(playerid, 453.814392, 360.333374,


"ld_beat:chit");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][9], 26.000000, 30.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][9], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][9], 255);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][9], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][9], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][9], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][9], 0);

CelularTD[playerid][10] = CreatePlayerTextDraw(playerid, 454.282806, 360.916656,


"ld_beat:chit");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][10], 25.000000, 29.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][10], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][10], -1);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][10], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][10], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][10], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][10], 0);

PlayerTextDrawSetSelectable(playerid, CelularTD[playerid][10], true);


CelularTD[playerid][11] = CreatePlayerTextDraw(playerid, 420.080474, 209.249984,
"LD_SPAC:white");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][11], 90.000000, 154.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][11], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][11], 255);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][11], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][11], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][11], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][11], 0);

CelularTD[playerid][12] = CreatePlayerTextDraw(playerid, 420.548828, 209.833374,


"LD_SPAC:white");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][12], 89.000000, 153.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][12], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][12], -1);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][12], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][12], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][12], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][12], 0);

CelularTD[playerid][13] = CreatePlayerTextDraw(playerid, 455.688079, 198.166717,


"LD_SPAC:white");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][13], 23.000000, 3.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][13], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][13], 255);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][13], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][13], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][13], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][13], 0);

CelularTD[playerid][14] = CreatePlayerTextDraw(playerid, 476.303192, 197.000015,


"LD_BEAT:CHIT");
PlayerTextDrawTextSize(playerid, CelularTD[playerid][14], 4.000000, 5.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][14], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][14], 255);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][14], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][14], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][14], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][14], 0);

CelularTD[playerid][15] = CreatePlayerTextDraw(playerid, 453.814117, 197.000045,


"ld_beat:chit");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][15], 4.000000, 5.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][15], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][15], 255);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][15], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][15], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][15], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][15], 0);

CelularTD[playerid][16] = CreatePlayerTextDraw(playerid, 445.380950, 194.666595,


"ld_beat:chit");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][16], 7.000000, 8.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][16], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][16], 255);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][16], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][16], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][16], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][16], 0);

CelularTD[playerid][17] = CreatePlayerTextDraw(playerid, 464.590789, 191.749908,


"ld_beat:chit");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][17], 5.000000, 5.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][17], 1);


PlayerTextDrawColor(playerid, CelularTD[playerid][17], 255);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][17], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][17], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][17], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][17], 0);

CelularTD[playerid][18] = CreatePlayerTextDraw(playerid, 420.548889, 342.833251,


"LD_SPAC:white");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][18], 89.000000, 20.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][18], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][18], -2139062017);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][18], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][18], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][18], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][18], 0);

CelularTD[playerid][19] = CreatePlayerTextDraw(playerid, 419.612121, 339.333374,


"ld_beat:chit");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][19], 25.000000, 26.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][19], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][19], -1061109505);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][19], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][19], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][19], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][19], 0);

PlayerTextDrawSetSelectable(playerid, CelularTD[playerid][19], true);

CelularTD[playerid][20] = CreatePlayerTextDraw(playerid, 426.339691, 346.916656,


"DC");

PlayerTextDrawLetterSize(playerid, CelularTD[playerid][20], 0.219150, 1.057499);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][20], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][20], -2147483393);


PlayerTextDrawSetShadow(playerid, CelularTD[playerid][20], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][20], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][20], 2);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][20], 1);

CelularTD[playerid][21] = CreatePlayerTextDraw(playerid, 441.164306, 339.333374,


"ld_beat:chit");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][21], 25.000000, 26.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][21], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][21], 255);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][21], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][21], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][21], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][21], 0);

PlayerTextDrawSetSelectable(playerid, CelularTD[playerid][21], true);

CelularTD[playerid][22] = CreatePlayerTextDraw(playerid, 446.486145, 348.666687,


"Uber");

PlayerTextDrawLetterSize(playerid, CelularTD[playerid][22], 0.187289, 0.800832);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][22], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][22], -1);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][22], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][22], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][22], 1);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][22], 1);

CelularTD[playerid][23] = CreatePlayerTextDraw(playerid, 465.059020, 339.333404,


"ld_beat:chit");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][23], 25.000000, 26.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][23], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][23], -2147418113);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][23], 0);


PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][23], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][23], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][23], 0);

PlayerTextDrawSetSelectable(playerid, CelularTD[playerid][23], true);

CelularTD[playerid][24] = CreatePlayerTextDraw(playerid, 485.205383, 339.916687,


"ld_beat:chit");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][24], 25.000000, 26.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][24], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][24], -1061109575);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][24], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][24], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][24], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][24], 0);

PlayerTextDrawSetSelectable(playerid, CelularTD[playerid][24], true);

CelularTD[playerid][25] = CreatePlayerTextDraw(playerid, 472.254821, 349.249908,


"NU");

PlayerTextDrawLetterSize(playerid, CelularTD[playerid][25], 0.269751, 0.923332);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][25], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][25], -1);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][25], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][25], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][25], 3);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][25], 1);

CelularTD[playerid][26] = CreatePlayerTextDraw(playerid, 491.764556, 346.333374,


"LD_beat:chit");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][26], 11.000000, 12.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][26], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][26], -16776961);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][26], 0);


PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][26], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][26], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][26], 0);

CelularTD[playerid][27] = CreatePlayerTextDraw(playerid, 494.107269, 349.249938,


"LD_beat:chit");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][27], 6.000000, 13.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][27], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][27], -16776961);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][27], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][27], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][27], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][27], 0);

CelularTD[playerid][28] = CreatePlayerTextDraw(playerid, 495.512573, 350.416625,


"ld_beat:chit");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][28], 4.000000, 4.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][28], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][28], -1);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][28], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][28], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][28], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][28], 0);

CelularTD[playerid][29] = CreatePlayerTextDraw(playerid, 460.073516, 209.833404,


"9:42 AM");

PlayerTextDrawLetterSize(playerid, CelularTD[playerid][29], 0.117012, 0.514999);

PlayerTextDrawTextSize(playerid, CelularTD[playerid][29], 792.000000, 0.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][29], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][29], -1);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][29], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][29], 255);


PlayerTextDrawFont(playerid, CelularTD[playerid][29], 1);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][29], 1);

CelularTD[playerid][30] = CreatePlayerTextDraw(playerid, 506.288909, 211.000030,


"LD_SPAC:white");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][30], 2.000000, 1.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][30], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][30], -1);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][30], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][30], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][30], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][30], 0);

CelularTD[playerid][31] = CreatePlayerTextDraw(playerid, 420.549285, 209.833328,


"LD_DUAL:backgnd");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][31], 89.000000, 133.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][31], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][31], -1);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][31], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][31], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][31], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][31], 0);

CelularTD[playerid][32] = CreatePlayerTextDraw(playerid, 500.666717, 210.416625,


"LD_SPAC:white");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][32], 6.000000, 3.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][32], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][32], -1);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][32], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][32], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][32], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][32], 0);


CelularTD[playerid][33] = CreatePlayerTextDraw(playerid, 501.135131, 210.416732,
"LD_SPAC:white");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][33], 5.000000, 2.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][33], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][33], -1061109505);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][33], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][33], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][33], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][33], 0);

CelularTD[playerid][34] = CreatePlayerTextDraw(playerid, 421.954925, 212.166824,


"LD_SPAC:white");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][34], 2.000000, 1.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][34], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][34], -1061109505);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][34], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][34], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][34], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][34], 0);

CelularTD[playerid][35] = CreatePlayerTextDraw(playerid, 424.297485, 211.000167,


"LD_SPAC:white");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][35], 2.000000, 2.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][35], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][35], -1061109505);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][35], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][35], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][35], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][35], 0);


CelularTD[playerid][36] = CreatePlayerTextDraw(playerid, 426.639984, 210.416793,
"LD_SPAC:white");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][36], 2.000000, 3.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][36], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][36], -1061109505);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][36], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][36], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][36], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][36], 0);

CelularTD[playerid][37] = CreatePlayerTextDraw(playerid, 419.612182, 228.500015,


"ld_beat:chit");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][37], 25.000000, 28.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][37], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][37], 16745471);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][37], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][37], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][37], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][37], 0);

PlayerTextDrawSetSelectable(playerid, CelularTD[playerid][37], true);

CelularTD[playerid][38] = CreatePlayerTextDraw(playerid, 426.171569, 234.916625,


"ld_chat:goodcha");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][38], 12.000000, 14.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][38], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][38], 16711935);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][38], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][38], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][38], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][38], 0);


CelularTD[playerid][39] = CreatePlayerTextDraw(playerid, 452.409301, 228.500000,
"ld_beat:chit");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][39], 25.000000, 28.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][39], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][39], -2147450625);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][39], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][39], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][39], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][39], 0);

PlayerTextDrawSetSelectable(playerid, CelularTD[playerid][39], true);

CelularTD[playerid][40] = CreatePlayerTextDraw(playerid, 486.611175, 228.500045,


"ld_beat:chit");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][40], 25.000000, 28.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][40], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][40], -1);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][40], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][40], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][40], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][40], 0);

PlayerTextDrawSetSelectable(playerid, CelularTD[playerid][40], true);

CelularTD[playerid][41] = CreatePlayerTextDraw(playerid, 457.262268, 238.416671,


"O");

PlayerTextDrawLetterSize(playerid, CelularTD[playerid][41], 0.176045, 0.952499);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][41], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][41], -1);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][41], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][41], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][41], 1);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][41], 1);


CelularTD[playerid][42] = CreatePlayerTextDraw(playerid, 462.884582, 236.083312,
"L");

PlayerTextDrawLetterSize(playerid, CelularTD[playerid][42], 0.176045, 0.952499);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][42], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][42], 16711935);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][42], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][42], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][42], 1);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][42], 1);

CelularTD[playerid][43] = CreatePlayerTextDraw(playerid, 466.632781, 236.666641,


"x");

PlayerTextDrawLetterSize(playerid, CelularTD[playerid][43], 0.176045, 0.952499);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][43], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][43], -5963521);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][43], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][43], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][43], 1);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][43], 1);

CelularTD[playerid][44] = CreatePlayerTextDraw(playerid, 492.701477, 235.499984,


"hud:radar_triadsCasino");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][44], 12.000000, 14.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][44], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][44], -1);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][44], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][44], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][44], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][44], 0);

CelularTD[playerid][45] = CreatePlayerTextDraw(playerid, 419.144226, 257.083221,


"ld_beat:chit");
PlayerTextDrawTextSize(playerid, CelularTD[playerid][45], 25.000000, 28.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][45], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][45], -2139691521);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][45], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][45], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][45], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][45], 0);

PlayerTextDrawSetSelectable(playerid, CelularTD[playerid][45], true);

CelularTD[playerid][46] = CreatePlayerTextDraw(playerid, 426.640106, 264.666656,


"hud:radar_modGarage");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][46], 11.000000, 14.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][46], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][46], -1);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][46], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][46], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][46], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][46], 0);

CelularTD[playerid][47] = CreatePlayerTextDraw(playerid, 452.877685, 257.666625,


"ld_beat:chit");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][47], 25.000000, 28.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][47], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][47], -1378294017);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][47], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][47], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][47], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][47], 0);

PlayerTextDrawSetSelectable(playerid, CelularTD[playerid][47], true);

CelularTD[playerid][48] = CreatePlayerTextDraw(playerid, 486.142852, 257.083312,


"ld_beat:chit");
PlayerTextDrawTextSize(playerid, CelularTD[playerid][48], 25.000000, 28.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][48], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][48], -16776961);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][48], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][48], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][48], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][48], 0);

PlayerTextDrawSetSelectable(playerid, CelularTD[playerid][48], true);

CelularTD[playerid][49] = CreatePlayerTextDraw(playerid, 459.904937, 265.249969,


"hud:radar_police");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][49], 12.000000, 12.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][49], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][49], -1);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][49], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][49], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][49], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][49], 0);

CelularTD[playerid][50] = CreatePlayerTextDraw(playerid, 492.701690, 265.249938,


"hud:radar_hostpital");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][50], 12.000000, 12.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][50], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][50], -1);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][50], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][50], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][50], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][50], 0);

CelularTD[playerid][51] = CreatePlayerTextDraw(playerid, 419.612762, 287.416717,


"ld_beat:chit");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][51], 25.000000, 28.000000);


PlayerTextDrawAlignment(playerid, CelularTD[playerid][51], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][51], -43521);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][51], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][51], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][51], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][51], 0);

PlayerTextDrawSetSelectable(playerid, CelularTD[playerid][51], true);

CelularTD[playerid][52] = CreatePlayerTextDraw(playerid, 452.877807, 286.833343,


"ld_beat:chit");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][52], 25.000000, 28.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][52], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][52], -13893377);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][52], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][52], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][52], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][52], 0);

PlayerTextDrawSetSelectable(playerid, CelularTD[playerid][52], true);

CelularTD[playerid][53] = CreatePlayerTextDraw(playerid, 486.611480, 287.416717,


"ld_beat:chit");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][53], 25.000000, 28.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][53], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][53], -1523963137);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][53], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][53], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][53], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][53], 0);

PlayerTextDrawSetSelectable(playerid, CelularTD[playerid][53], true);

CelularTD[playerid][54] = CreatePlayerTextDraw(playerid, 427.108184, 294.416687,


"hud:radar_cash");
PlayerTextDrawTextSize(playerid, CelularTD[playerid][54], 11.000000, 13.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][54], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][54], -1);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][54], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][54], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][54], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][54], 0);

CelularTD[playerid][55] = CreatePlayerTextDraw(playerid, 459.905151, 296.166717,


"hud:radar_pizza");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][55], 11.000000, 11.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][55], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][55], -1);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][55], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][55], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][55], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][55], 0);

CelularTD[playerid][56] = CreatePlayerTextDraw(playerid, 493.170013, 294.416656,


"hud:radar_north");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][56], 11.000000, 14.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][56], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][56], -1);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][56], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][56], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][56], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][56], 0);

CelularTD[playerid][57] = CreatePlayerTextDraw(playerid, 460.842346, 337.583312,


"LD_BEAT:CHIT");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][57], 5.000000, 5.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][57], 1);


PlayerTextDrawColor(playerid, CelularTD[playerid][57], -1);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][57], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][57], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][57], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][57], 0);

CelularTD[playerid][58] = CreatePlayerTextDraw(playerid, 465.527648, 337.583312,


"LD_BEAT:CHIT");

PlayerTextDrawTextSize(playerid, CelularTD[playerid][58], 5.000000, 5.000000);

PlayerTextDrawAlignment(playerid, CelularTD[playerid][58], 1);

PlayerTextDrawColor(playerid, CelularTD[playerid][58], -2139062017);

PlayerTextDrawSetShadow(playerid, CelularTD[playerid][58], 0);

PlayerTextDrawBackgroundColor(playerid, CelularTD[playerid][58], 255);

PlayerTextDrawFont(playerid, CelularTD[playerid][58], 4);

PlayerTextDrawSetProportional(playerid, CelularTD[playerid][58], 0);

return 1;

</criação>

<if key>

if(newkeys == KEY_CTRL_BACK)

if(IsPlayerInRangeOfPoint(playerid, 1.0, 1783.2863,-1722.5483,-33.9262)){

SetPlayerPos(playerid,1783.2863,-1722.5483+1/2+0.1,-33.9262-1/2+0.4);

SetPlayerFacingAngle(playerid, 181.8449);

ApplyAnimation(playerid, "PED", "SEAT_down", 4.0,0, 1, 1, 1, 1, 1);

format(String, sizeof(String), "{C29FDA}** %s sentou-se.", Nome(playerid));

SendClientMessage(playerid,-1,"{C29FDA}***Sentado! Para sair use /anim");

ProxDetector(10.0, playerid, String, -1,-1,-1,-1,-1);

if(IsPlayerInRangeOfPoint(playerid, 2.0, 611.6843,-1507.9204,15.1935)) {

PlayerTextDrawSetPreviewModel(playerid, LojaDeSkin[playerid][1], 0);


for( new text3; text3 != 6; text3++) PlayerTextDrawShow(playerid,
LojaDeSkin[playerid][text3]);

SelectTextDraw(playerid,-1);

if(IsPlayerInRangeOfPoint(playerid, 2.0, 1573.6821,-1265.7646,17.4842)) return


ShowPlayerDialog(playerid, DIALOG_PREF ,DIALOG_STYLE_LIST,"{FFFFFF}Prefeitura","{ffffff}1
Emitir RG{ffffff}\n2 Pagar Ipva\n{ffffff}3 Pagar Multas Acumuladas", "Sim" ,"Nao");

if(IsPlayerInRangeOfPoint(playerid, 2.0, 1579.3186,-1265.6726,17.5351)) return


ShowPlayerDialog(playerid, DIALOG_PREF ,DIALOG_STYLE_LIST,"{FFFFFF}Prefeitura","{ffffff}1
Emitir RG{ffffff}\n2 Pagar Ipva\n{ffffff}3 Pagar Multas Acumuladas", "Sim" ,"Nao");

if(IsPlayerInRangeOfPoint(playerid, 2.0, 1568.1598,-1265.6782,17.4343)) return


ShowPlayerDialog(playerid, DIALOG_PREF ,DIALOG_STYLE_LIST,"{FFFFFF}Prefeitura","{ffffff}1
Emitir RG{ffffff}\n2 Pagar Ipva\n{ffffff}3 Pagar Multas Acumuladas", "Sim" ,"Nao");

if(IsPlayerInRangeOfPoint(playerid, 2.0, 2002.8893,-1776.4906,13.3665)) return


ShowPlayerDialog(playerid, DIALOG_PROVA1 ,DIALOG_STYLE_MSGBOX,"{FFFFFF}Auto
Escola","{ffffff}Voce Deseja Comecar A Prova Teorica ??", "Sim" ,"Nao");

if(IsPlayerInRangeOfPoint(playerid, 2.0, 599.9033,-1511.4855,15.2127)) return


ShowPlayerDialog(playerid, DIALOG_SKIN ,DIALOG_STYLE_MSGBOX,"{FFFFFF}Loja De
Roupas","{ffffff}Voce Deseja Comprar A roupa Escolhida ??", "Comprar" ,"Sair");

if(IsPlayerInRangeOfPoint(playerid, 2.0, 1355.7223,-1760.7206,13.5507)){

if(LojinhaRoubada == 1)return SendClientMessage(playerid, LIGHTRED,


"{ff4f3b}ERRO: Esta Lojinha Foi Roubada Por Isso Nao Podes Comprar Nela Aguarde Ate Que
Eles Consigao Se Restabelecer.");

if(IsPlayerInRangeOfPoint(playerid, 2.0, 1355.7223,-1760.7206,13.5507)) return


SetTimerEx("Pegar", 300, false, "i", playerid);

if(IsPlayerInRangeOfPoint(playerid, 2.0, 1362.7720,-1760.9863,13.5507)) return


ShowPlayerDialog(playerid, DIALOG_BEBIDAS
,DIALOG_STYLE_LIST,"{FFFFFF}|Bebidas|","{fff49a}01.{ffffff}Refrigerante\n{fff49a}02.{ffffff}Cerv
eja\n{fff49a}03.{ffffff}Suco", "{ffffff}Confirmar" ,"{ffffff}Sair");

if(IsPlayerInRangeOfPoint(playerid, 2.0, 1362.8083,-1766.5154,13.5507)) return


ShowPlayerDialog(playerid, DIALOG_COMIDAS
,DIALOG_STYLE_LIST,"{FFFFFF}|Comidas|","{fff49a}01.{ffffff}Massa\n{fff49a}02.{ffffff}Salada\n{
fff49a}03.{ffffff}Arroz", "{ffffff}Confirmar" ,"{ffffff}Sair");

if(IsPlayerInRangeOfPoint(playerid, 2.0, 1341.6293,-1767.1768,13.5307)) return


ShowPlayerDialog(playerid, DIALOG_DIVERSOS
,DIALOG_STYLE_LIST,"{FFFFFF}|Diversos|","{fff49a}01.{ffffff}Kit De Raparo", "{ffffff}Confirmar"
,"{ffffff}Sair");
if(IsPlayerInRangeOfPoint(playerid, 2.0, 1342.0078,-1770.7722,13.6278)) return
ShowPlayerDialog(playerid, DIALOG_SORVETE
,DIALOG_STYLE_LIST,"{FFFFFF}Sorvete","Flocos\nNapolitano\nChocolate", "Confirmar" ,"Sair");

if(IsPlayerInRangeOfPoint(playerid, 2.0, 1352.6971,-1768.2841,13.5407)) return


ShowPlayerDialog(playerid, DIALOG_CELULAR
,DIALOG_STYLE_LIST,"{FFFFFF}|Celular|","{fff49a}01.{ffffff}Iphone 10\n{fff49a}02.{ffffff}Nokia
Tijolo\n{fff49a}03.{ffffff}LG K12", "{ffffff}Confirmar" ,"{ffffff}Sair");

if(pInfo[playerid][Trabalho] == 2)

if(IsPlayerInRangeOfPoint(playerid, 2.0, 691.8146,-446.6390,16.3359)) return


SetTimerEx("Pegarp", 300, false, "i", playerid);

return 1;

</if>

<procurar dialog 14>

if(dialogid == 14)

if(response)

if(GetPlayerCash(playerid) MENOR QUE TotalPreco[playerid]){

TotalPreco[playerid] =0;

SendClientMessage(playerid,LIGHTRED,"{ff4f3b}ERRO: Voce Nao Tem


Dinheiro");

Coca[playerid] = 0;

Cerveja[playerid] = 0;

Suco[playerid] = 0;

KitReparo[playerid] = 0;

Massa[playerid] = 0;

Salada[playerid] = 0;

Arroz[playerid] = 0;

Nokia[playerid] = 0;

Iphone[playerid] = 0;
Lg[playerid] = 0;

if(Cestinha[playerid] == 0)return
SendClientMessage(playerid,LIGHTRED,"{ff4f3b}ERRO: Voce Nao esta com uma cestinha");

Cestinha[playerid] = 0;

RemovePlayerAttachedObject(playerid, 0);

RemovePlayerAttachedObject(playerid, 1);

RemovePlayerAttachedObject(playerid, 2);

RemovePlayerAttachedObject(playerid, 7);

GivePlayerCash(playerid,-TotalPreco[playerid]);

DestroyDynamicObject(itens[0]);

DestroyDynamicObject(itens[1]);

DestroyDynamicObject(itens[2]);

TotalPreco[playerid] =0;

if(Massa[playerid] == 1){

SendClientMessage(playerid,LIGHTRED,"{fff49a}BCBRP: {ffffff}Voce Comprou


um Pacote De Massa Use: {fff49a}/inv {ffffff}Para Usar");

Massa[playerid] = 0;

ColocarItem(playerid, 2);

if(Arroz[playerid] == 1){

SendClientMessage(playerid,LIGHTRED,"{fff49a}BCBRP: {ffffff}Voce Comprou


um Pacote De Arroz Use: {fff49a}/inv {ffffff}Para Usar");

Arroz[playerid] = 0;

ColocarItem(playerid, 1);

if(Salada[playerid] == 1){

SendClientMessage(playerid,LIGHTRED,"{fff49a}BCBRP: {ffffff}Voce Comprou


um Pacote De Salada Use: {fff49a}/inv {ffffff}Para Usar");

Salada[playerid] = 0;
ColocarItem(playerid, 3);

if(Iphone[playerid] == 1){

SendClientMessage(playerid,LIGHTRED,"{fff49a}BCBRP: {ffffff}Voce Comprou


um Iphone 10 Use: {fff49a}/celular {ffffff}Para Usar");

Iphone[playerid] = 0;

pInfo[playerid][Celular] = 1;

if(Nokia[playerid] == 1){

SendClientMessage(playerid,LIGHTRED,"{fff49a}BCBRP: {ffffff}Voce Comprou


um Nokia Tijolo Use: {fff49a}/celular {ffffff}Para Usar");

Nokia[playerid] = 0;

pInfo[playerid][Celular] = 2;

if(Lg[playerid] == 1){

SendClientMessage(playerid,LIGHTRED,"{fff49a}BCBRP: {ffffff}Voce Comprou


um LG K12 Use: {fff49a}/celular {ffffff}Para Usar");

Lg[playerid] = 0;

pInfo[playerid][Celular] = 3;

if(Cerveja[playerid] == 1){

SendClientMessage(playerid,LIGHTRED,"{fff49a}BCBRP: {ffffff}Voce Comprou


Um Litrao De Cerveja Use: {fff49a}/inv {ffffff}Para Usar");

Cerveja[playerid] = 0;

ColocarItem(playerid, 4);
}

if(Coca[playerid] == 1){

SendClientMessage(playerid,LIGHTRED,"{fff49a}BCBRP: {ffffff}Voce Comprou


uma Garafa de Refrigerante Use: {fff49a}/inv {ffffff}Para Usar");

Coca[playerid] = 0;

ColocarItem(playerid, 5);

if(Suco[playerid] == 1){

SendClientMessage(playerid,LIGHTRED,"{fff49a}BCBRP: {ffffff}Voce Comprou


uma Garafa de Suco Use: {fff49a}/inv {ffffff}Para Usar");

Suco[playerid] = 0;

ColocarItem(playerid, 6);

if(KitReparo[playerid] == 1){

SendClientMessage(playerid,LIGHTRED,"{fff49a}BCBRP: {ffffff}Voce Comprou


um Kit de Reparo Use: {fff49a}/inv {ffffff}Para Usar");

KitReparo[playerid] = 0;

ColocarItem(playerid, 7);

</>

<procurar stock>

stock TemCelular(playerid)

switch(pInfo[playerid][Celular]){

case 1,2,3: return true;


}

return false;

</stock>

<Stock de salvar conta>

stock SalvarConta(playerid)

pInfo[playerid][Celular

</>

<stock de garregar a conta>

stock CarregarConta(playerid)

new Query[100], DBResult: R;

format(Query, sizeof(Query), "SELECT * FROM Contas WHERE Nome = '%s'",


DB_Escape(Nome(playerid)));

R = db_query(Database, Query);

if(db_num_rows(R)){

pInfo[playerid][Admin] = db_get_field_assoc_int(R, "Admin");

GivePlayerCash(playerid, db_get_field_assoc_int(R, "Dinheiro"));

pInfo[playerid][Org] = db_get_field_assoc_int(R, "Org");

pInfo[playerid][Cargo] = db_get_field_assoc_int(R, "Cargo");

pInfo[playerid][Trabalho] = db_get_field_assoc_int(R, "Trabalho");

pInfo[playerid][Dinheiro] = db_get_field_assoc_int(R, "DinheiroBanco");

SetPlayerWantedLevel(playerid,db_get_field_assoc_int(R, "Estrelas"));

SetPlayerScore(playerid,db_get_field_assoc_int(R, "Nivel"));

pInfo[playerid][Yt] = db_get_field_assoc_int(R, "Yt");

pInfo[playerid][Celular] = db_get_field_assoc_int(R, "Celular");

pInfo[playerid][Fome] = db_get_field_assoc_int(R, "Fome");

pInfo[playerid][Sede] = db_get_field_assoc_int(R, "Sede");

pInfo[playerid][HabA] = db_get_field_assoc_int(R, "HabA");

pInfo[playerid][HabB] = db_get_field_assoc_int(R, "HabB");


pInfo[playerid][Skin] = db_get_field_assoc_int(R, "Skin");

pInfo[playerid][RG] = db_get_field_assoc_int(R, "RG");

pInfo[playerid][CPF] = db_get_field_assoc_int(R, "Id");

pInfo[playerid][Cadeia] = db_get_field_assoc_int(R, "CadeiaStaff");

pInfo[playerid][Prisao] = db_get_field_assoc_int(R, "Prisao");

pInfo[playerid][Logado] = true;

</>

<CMD>

CMD:celular(playerid){

if(!TemCelular(playerid))return SendClientMessage(playerid,LIGHTRED,"{ff4f3b}ERRO: Voce


Nao Possuiu Um Celular, Caso Queira Ver O Gps Use /gps");

if(TemCelular(playerid))

SelectTextDraw(playerid, -1);

for( new text2; text2 != 59; text2++) PlayerTextDrawShow(playerid,


CelularTD[playerid][text2]);

return 1;

</>

<OnPlayerClickPlayerTextDraw>

if(playertextid == CelularTD[playerid][10])

for( new text2; text2 != 59; text2++) PlayerTextDrawHide(playerid,


CelularTD[playerid][text2]);

CancelSelectTextDraw(playerid);

</>

You might also like