17.06.2014, 22:32
Quote:
mano... coisa estranha se quiser me manda seu OnPlayerConnect por mensagem!
Ou se para vocк nгo fizer diferenзa pode colocar aqui mesmo, quem sabe, poderб servir de resposta a outra pessoa |
Quote:
public OnPlayerConnect(playerid) { Pedreiro[playerid] = 0; g_PlayerCarMenu{playerid} = 0; g_PlayerIDvehSpawn[playerid] = -1; PlayersOnline++; Javiu[playerid] = 1; SetTimerEx("MostrarEspera",500,0,"i",playerid); Chapeu[playerid] = 0; Policia3[playerid] = CreatePlayerTextDraw(playerid,259.000000, 166.000000, "~w~Felper.tk"); PlayerTextDrawBackgroundColor(playerid,Policia3[playerid], 255); PlayerTextDrawFont(playerid,Policia3[playerid], 1); PlayerTextDrawLetterSize(playerid,Policia3[playerid], 0.570000, 2.200000); PlayerTextDrawColor(playerid,Policia3[playerid], -1); PlayerTextDrawSetOutline(playerid,Policia3[playerid], 0); PlayerTextDrawSetProportional(playerid,Policia3[playerid], 1); PlayerTextDrawSetShadow(playerid,Policia3[playerid], 1); Boxstatus0 = CreatePlayerTextDraw(playerid,138.000000, 131.000000, "_"); PlayerTextDrawBackgroundColor(playerid,Boxstatus0, 65535); PlayerTextDrawFont(playerid,Boxstatus0, 1); PlayerTextDrawLetterSize(playerid,Boxstatus0, 0.500000, 22.899990); PlayerTextDrawColor(playerid,Boxstatus0, -1); PlayerTextDrawSetOutline(playerid,Boxstatus0, 0); PlayerTextDrawSetProportional(playerid,Boxstatus0, 1); PlayerTextDrawSetShadow(playerid,Boxstatus0, 1); PlayerTextDrawUseBox(playerid,Boxstatus0, 1); PlayerTextDrawBoxColor(playerid,Boxstatus0, 0x000000FF); PlayerTextDrawTextSize(playerid,Boxstatus0, 490.000000, 50.000000); PlayerTextDrawSetSelectable(playerid,Boxstatus0, 0); Boxstatus1[playerid] = CreatePlayerTextDraw(playerid,335.000000, 140.000000, "KMH"); PlayerTextDrawBackgroundColor(playerid,Boxstatus1[playerid], 255); PlayerTextDrawFont(playerid,Boxstatus1[playerid], 5); PlayerTextDrawLetterSize(playerid,Boxstatus1[playerid], 0.680000, 2.899991); PlayerTextDrawColor(playerid,Boxstatus1[playerid], -1); PlayerTextDrawSetOutline(playerid,Boxstatus1[playerid], 0); PlayerTextDrawSetProportional(playerid,Boxstatus1[playerid], 1); PlayerTextDrawSetShadow(playerid,Boxstatus1[playerid], 1); PlayerTextDrawUseBox(playerid,Boxstatus1[playerid], 1); PlayerTextDrawBoxColor(playerid,Boxstatus1[playerid], 0x00000044); PlayerTextDrawTextSize(playerid,Boxstatus1[playerid], 157.000000, 181.000000); PlayerTextDrawSetPreviewRot(playerid, Boxstatus1[playerid], -16.000000, 0.000000, -55.000000, 1.000000); PlayerTextDrawSetSelectable(playerid,Boxstatus1[playerid], 0); Boxstatus2[playerid] = CreatePlayerTextDraw(playerid,206.000000, 133.000000, "KMH: 1525465987"); PlayerTextDrawBackgroundColor(playerid,Boxstatus2[playerid], 1330597887); PlayerTextDrawFont(playerid,Boxstatus2[playerid], 1); PlayerTextDrawLetterSize(playerid,Boxstatus2[playerid], 0.259999, 0.799991); PlayerTextDrawColor(playerid,Boxstatus2[playerid], -808464385); PlayerTextDrawSetOutline(playerid,Boxstatus2[playerid], 1); PlayerTextDrawSetProportional(playerid,Boxstatus2[playerid], 1); PlayerTextDrawSetPreviewModel(playerid, Boxstatus2[playerid], 123); PlayerTextDrawSetPreviewRot(playerid, Boxstatus2[playerid], -16.000000, 0.000000, -55.000000, 1.000000); PlayerTextDrawSetSelectable(playerid,Boxstatus2[playerid], 0); Boxstatus3[playerid] = CreatePlayerTextDraw(playerid,206.000000, 143.000000, "Convoys: 644"); PlayerTextDrawBackgroundColor(playerid,Boxstatus3[playerid], 1330597887); PlayerTextDrawFont(playerid,Boxstatus3[playerid], 1); PlayerTextDrawLetterSize(playerid,Boxstatus3[playerid], 0.259999, 0.799991); PlayerTextDrawColor(playerid,Boxstatus3[playerid], -808464385); PlayerTextDrawSetOutline(playerid,Boxstatus3[playerid], 1); PlayerTextDrawSetProportional(playerid,Boxstatus3[playerid], 1); PlayerTextDrawSetPreviewModel(playerid, Boxstatus3[playerid], 123); PlayerTextDrawSetPreviewRot(playerid, Boxstatus3[playerid], -16.000000, 0.000000, -55.000000, 1.000000); PlayerTextDrawSetSelectable(playerid,Boxstatus3[playerid], 0); Boxstatus4[playerid] = CreatePlayerTextDraw(playerid,206.000000, 153.000000, "MS Onibus: 154"); PlayerTextDrawBackgroundColor(playerid,Boxstatus4[playerid], 1330597887); PlayerTextDrawFont(playerid,Boxstatus4[playerid], 1); PlayerTextDrawLetterSize(playerid,Boxstatus4[playerid], 0.259999, 0.799991); PlayerTextDrawColor(playerid,Boxstatus4[playerid], -808464385); PlayerTextDrawSetOutline(playerid,Boxstatus4[playerid], 1); PlayerTextDrawSetProportional(playerid,Boxstatus4[playerid], 1); PlayerTextDrawSetPreviewModel(playerid, Boxstatus4[playerid], 123); PlayerTextDrawSetPreviewRot(playerid, Boxstatus4[playerid], -16.000000, 0.000000, -55.000000, 1.000000); PlayerTextDrawSetSelectable(playerid,Boxstatus4[playerid], 0); Boxstatus5[playerid] = CreatePlayerTextDraw(playerid,206.000000, 163.000000, "MS Piloto: 255"); PlayerTextDrawBackgroundColor(playerid,Boxstatus5[playerid], 1330597887); PlayerTextDrawFont(playerid,Boxstatus5[playerid], 1); PlayerTextDrawLetterSize(playerid,Boxstatus5[playerid], 0.259999, 0.799991); PlayerTextDrawColor(playerid,Boxstatus5[playerid], -808464385); PlayerTextDrawSetOutline(playerid,Boxstatus5[playerid], 1); PlayerTextDrawSetProportional(playerid,Boxstatus5[playerid], 1); PlayerTextDrawSetPreviewModel(playerid, Boxstatus5[playerid], 123); PlayerTextDrawSetPreviewRot(playerid, Boxstatus5[playerid], -16.000000, 0.000000, -55.000000, 1.000000); PlayerTextDrawSetSelectable(playerid,Boxstatus5[playerid], 0); Boxstatus6[playerid] = CreatePlayerTextDraw(playerid,206.000000, 173.000000, "MS Correio: 255"); PlayerTextDrawBackgroundColor(playerid,Boxstatus6[playerid], 1330597887); PlayerTextDrawFont(playerid,Boxstatus6[playerid], 1); PlayerTextDrawLetterSize(playerid,Boxstatus6[playerid], 0.259999, 0.799991); PlayerTextDrawColor(playerid,Boxstatus6[playerid], -808464385); PlayerTextDrawSetOutline(playerid,Boxstatus6[playerid], 1); PlayerTextDrawSetProportional(playerid,Boxstatus6[playerid], 1); PlayerTextDrawSetPreviewModel(playerid, Boxstatus6[playerid], 123); PlayerTextDrawSetPreviewRot(playerid, Boxstatus6[playerid], -16.000000, 0.000000, -55.000000, 1.000000); PlayerTextDrawSetSelectable(playerid,Boxstatus6[playerid], 0); Boxstatus7[playerid] = CreatePlayerTextDraw(playerid,206.000000, 182.000000, "MS Operario: 255"); PlayerTextDrawBackgroundColor(playerid,Boxstatus7[playerid], 1330597887); PlayerTextDrawFont(playerid,Boxstatus7[playerid], 1); PlayerTextDrawLetterSize(playerid,Boxstatus7[playerid], 0.259999, 0.799991); PlayerTextDrawColor(playerid,Boxstatus7[playerid], -808464385); PlayerTextDrawSetOutline(playerid,Boxstatus7[playerid], 1); PlayerTextDrawSetProportional(playerid,Boxstatus7[playerid], 1); PlayerTextDrawSetPreviewModel(playerid,Boxstatus7[playerid], 123); PlayerTextDrawSetPreviewRot(playerid,Boxstatus7[playerid], -16.000000, 0.000000, -55.000000, 1.000000); PlayerTextDrawSetSelectable(playerid,Boxstatus7[playerid], 0); Boxstatus8[playerid] = CreatePlayerTextDraw(playerid,206.000000, 191.000000, "MS Mecanico: 255"); PlayerTextDrawBackgroundColor(playerid,Boxstatus8[playerid], 1330597887); PlayerTextDrawFont(playerid,Boxstatus8[playerid], 1); PlayerTextDrawLetterSize(playerid,Boxstatus8[playerid], 0.259999, 0.799991); PlayerTextDrawColor(playerid,Boxstatus8[playerid], -808464385); PlayerTextDrawSetOutline(playerid,Boxstatus8[playerid], 1); PlayerTextDrawSetProportional(playerid,Boxstatus8[playerid], 1); PlayerTextDrawSetPreviewModel(playerid,Boxstatus8[playerid], 123); PlayerTextDrawSetPreviewRot(playerid,Boxstatus8[playerid], -16.000000, 0.000000, -55.000000, 1.000000); PlayerTextDrawSetSelectable(playerid,Boxstatus8[playerid], 0); Boxstatus9[playerid] = CreatePlayerTextDraw(playerid,206.000000, 200.000000, "MS Mafia: 255"); PlayerTextDrawBackgroundColor(playerid,Boxstatus9[playerid], 1330597887); PlayerTextDrawFont(playerid,Boxstatus9[playerid], 1); PlayerTextDrawLetterSize(playerid,Boxstatus9[playerid], 0.259999, 0.799991); PlayerTextDrawColor(playerid,Boxstatus9[playerid], -808464385); PlayerTextDrawSetOutline(playerid,Boxstatus9[playerid], 1); PlayerTextDrawSetProportional(playerid,Boxstatus9[playerid], 1); PlayerTextDrawSetPreviewModel(playerid,Boxstatus9[playerid], 123); PlayerTextDrawSetPreviewRot(playerid,Boxstatus9[playerid], -16.000000, 0.000000, -55.000000, 1.000000); PlayerTextDrawSetSelectable(playerid,Boxstatus9[playerid], 0); Boxstatus10[playerid] = CreatePlayerTextDraw(playerid,206.000000, 209.000000, "Roubos Mafia: 255"); PlayerTextDrawBackgroundColor(playerid,Boxstatus10[playerid], 1330597887); PlayerTextDrawFont(playerid,Boxstatus10[playerid], 1); PlayerTextDrawLetterSize(playerid,Boxstatus10[playerid], 0.259999, 0.799991); PlayerTextDrawColor(playerid,Boxstatus10[playerid], -808464385); PlayerTextDrawSetOutline(playerid,Boxstatus10[playerid], 1); PlayerTextDrawSetProportional(playerid,Boxstatus10[playerid], 1); PlayerTextDrawSetPreviewModel(playerid, Boxstatus10[playerid], 123); PlayerTextDrawSetPreviewRot(playerid, Boxstatus10[playerid], -16.000000, 0.000000, -55.000000, 1.000000); PlayerTextDrawSetSelectable(playerid,Boxstatus10[playerid], 0); Boxstatus11[playerid] = CreatePlayerTextDraw(playerid,206.000000, 218.000000, "Multas PM: 255"); PlayerTextDrawBackgroundColor(playerid,Boxstatus11[playerid], 1330597887); PlayerTextDrawFont(playerid,Boxstatus11[playerid], 1); PlayerTextDrawLetterSize(playerid,Boxstatus11[playerid], 0.259999, 0.799991); PlayerTextDrawColor(playerid,Boxstatus11[playerid], -808464385); PlayerTextDrawSetOutline(playerid,Boxstatus11[playerid], 1); PlayerTextDrawSetProportional(playerid,Boxstatus11[playerid], 1); PlayerTextDrawSetPreviewModel(playerid, Boxstatus11[playerid], 123); PlayerTextDrawSetPreviewRot(playerid, Boxstatus11[playerid], -16.000000, 0.000000, -55.000000, 1.000000); PlayerTextDrawSetSelectable(playerid,Boxstatus11[playerid], 0); Boxstatus12[playerid] = CreatePlayerTextDraw(playerid,206.000000, 236.000000, "Curados: 255"); PlayerTextDrawBackgroundColor(playerid,Boxstatus12[playerid], 1330597887); PlayerTextDrawFont(playerid,Boxstatus12[playerid], 1); PlayerTextDrawLetterSize(playerid,Boxstatus12[playerid], 0.259999, 0.799991); PlayerTextDrawColor(playerid,Boxstatus12[playerid], -808464385); PlayerTextDrawSetOutline(playerid,Boxstatus12[playerid], 1); PlayerTextDrawSetProportional(playerid,Boxstatus12[playerid], 1); PlayerTextDrawSetPreviewModel(playerid, Boxstatus12[playerid], 123); PlayerTextDrawSetPreviewRot(playerid, Boxstatus12[playerid], -16.000000, 0.000000, -55.000000, 1.000000); PlayerTextDrawSetSelectable(playerid,Boxstatus12[playerid], 0); Boxstatus13[playerid] = CreatePlayerTextDraw(playerid,206.000000, 227.000000, "Prendeu como PM: 255"); PlayerTextDrawBackgroundColor(playerid,Boxstatus13[playerid], 1330597887); PlayerTextDrawFont(playerid,Boxstatus13[playerid], 1); PlayerTextDrawLetterSize(playerid,Boxstatus13[playerid], 0.259999, 0.799991); PlayerTextDrawColor(playerid,Boxstatus13[playerid], -808464385); PlayerTextDrawSetOutline(playerid,Boxstatus13[playerid], 1); PlayerTextDrawSetProportional(playerid,Boxstatus13[playerid], 1); PlayerTextDrawSetPreviewModel(playerid, Boxstatus13[playerid], 123); PlayerTextDrawSetPreviewRot(playerid, Boxstatus13[playerid], -16.000000, 0.000000, -55.000000, 1.000000); PlayerTextDrawSetSelectable(playerid,Boxstatus13[playerid], 0); Boxstatus14[playerid] = CreatePlayerTextDraw(playerid,206.000000, 245.000000, "Players soltos: 255"); PlayerTextDrawBackgroundColor(playerid,Boxstatus14[playerid], 1330597887); PlayerTextDrawFont(playerid,Boxstatus14[playerid], 1); PlayerTextDrawLetterSize(playerid,Boxstatus14[playerid], 0.259999, 0.799991); PlayerTextDrawColor(playerid,Boxstatus14[playerid], -808464385); PlayerTextDrawSetOutline(playerid,Boxstatus14[playerid], 1); PlayerTextDrawSetProportional(playerid,Boxstatus14[playerid], 1); PlayerTextDrawSetPreviewModel(playerid, Boxstatus14[playerid], 123); PlayerTextDrawSetPreviewRot(playerid, Boxstatus14[playerid], -16.000000, 0.000000, -55.000000, 1.000000); PlayerTextDrawSetSelectable(playerid,Boxstatus14[playerid], 0); Boxstatus15[playerid] = CreatePlayerTextDraw(playerid,206.000000, 262.000000, "Corridas ganhas: 255"); PlayerTextDrawBackgroundColor(playerid,Boxstatus15[playerid], 1330597887); PlayerTextDrawFont(playerid,Boxstatus15[playerid], 1); PlayerTextDrawLetterSize(playerid,Boxstatus15[playerid], 0.259999, 0.799991); PlayerTextDrawColor(playerid,Boxstatus15[playerid], -808464385); PlayerTextDrawSetOutline(playerid,Boxstatus15[playerid], 1); PlayerTextDrawSetProportional(playerid,Boxstatus15[playerid], 1); PlayerTextDrawSetPreviewModel(playerid, Boxstatus15[playerid], 123); PlayerTextDrawSetPreviewRot(playerid, Boxstatus15[playerid], -16.000000, 0.000000, -55.000000, 1.000000); PlayerTextDrawSetSelectable(playerid,Boxstatus15[playerid], 0); Boxstatus16[playerid] = CreatePlayerTextDraw(playerid,206.000000, 254.000000, "Pontos carteira: 21"); PlayerTextDrawBackgroundColor(playerid,Boxstatus16[playerid], 1330597887); PlayerTextDrawFont(playerid,Boxstatus16[playerid], 1); PlayerTextDrawLetterSize(playerid,Boxstatus16[playerid], 0.259999, 0.799991); PlayerTextDrawColor(playerid,Boxstatus16[playerid], -808464385); PlayerTextDrawSetOutline(playerid,Boxstatus16[playerid], 1); PlayerTextDrawSetProportional(playerid,Boxstatus16[playerid], 1); PlayerTextDrawSetPreviewModel(playerid, Boxstatus16[playerid], 123); PlayerTextDrawSetPreviewRot(playerid, Boxstatus16[playerid], -16.000000, 0.000000, -55.000000, 1.000000); PlayerTextDrawSetSelectable(playerid,Boxstatus16[playerid], 0); Boxstatus17[playerid] = CreatePlayerTextDraw(playerid,206.000000, 271.000000, "Pontos evento: 255"); PlayerTextDrawBackgroundColor(playerid,Boxstatus17[playerid], 1330597887); PlayerTextDrawFont(playerid,Boxstatus17[playerid], 1); PlayerTextDrawLetterSize(playerid,Boxstatus17[playerid], 0.259999, 0.799991); PlayerTextDrawColor(playerid,Boxstatus17[playerid], -808464385); PlayerTextDrawSetOutline(playerid,Boxstatus17[playerid], 1); PlayerTextDrawSetProportional(playerid,Boxstatus17[playerid], 1); PlayerTextDrawSetPreviewModel(playerid, Boxstatus17[playerid], 123); PlayerTextDrawSetPreviewRot(playerid, Boxstatus17[playerid], -16.000000, 0.000000, -55.000000, 1.000000); PlayerTextDrawSetSelectable(playerid,Boxstatus17[playerid], 0); Boxstatus18[playerid] = CreatePlayerTextDraw(playerid,206.000000, 280.000000, "Dinheiro na mao: 255"); PlayerTextDrawBackgroundColor(playerid,Boxstatus18[playerid], 1330597887); PlayerTextDrawFont(playerid,Boxstatus18[playerid], 1); PlayerTextDrawLetterSize(playerid,Boxstatus18[playerid], 0.259999, 0.799991); PlayerTextDrawColor(playerid,Boxstatus18[playerid], -808464385); PlayerTextDrawSetOutline(playerid,Boxstatus18[playerid], 1); PlayerTextDrawSetProportional(playerid,Boxstatus18[playerid], 1); PlayerTextDrawSetPreviewModel(playerid, Boxstatus18[playerid], 123); PlayerTextDrawSetPreviewRot(playerid, Boxstatus18[playerid], -16.000000, 0.000000, -55.000000, 1.000000); PlayerTextDrawSetSelectable(playerid,Boxstatus18[playerid], 0); Boxstatus19[playerid] = CreatePlayerTextDraw(playerid,206.000000, 289.000000, "Dinheiro no banco: 255"); PlayerTextDrawBackgroundColor(playerid,Boxstatus19[playerid], 1330597887); PlayerTextDrawFont(playerid,Boxstatus19[playerid], 1); PlayerTextDrawLetterSize(playerid,Boxstatus19[playerid], 0.259999, 0.799991); PlayerTextDrawColor(playerid,Boxstatus19[playerid], -808464385); PlayerTextDrawSetOutline(playerid,Boxstatus19[playerid], 1); PlayerTextDrawSetProportional(playerid,Boxstatus19[playerid], 1); PlayerTextDrawSetPreviewModel(playerid, Boxstatus19[playerid], 123); PlayerTextDrawSetPreviewRot(playerid, Boxstatus19[playerid], -16.000000, 0.000000, -55.000000, 1.000000); PlayerTextDrawSetSelectable(playerid,Boxstatus19[playerid], 0); Boxstatus20[playerid] = CreatePlayerTextDraw(playerid,206.000000, 297.000000, "Pontos: 255"); PlayerTextDrawBackgroundColor(playerid,Boxstatus20[playerid], 1330597887); PlayerTextDrawFont(playerid,Boxstatus20[playerid], 1); PlayerTextDrawLetterSize(playerid,Boxstatus20[playerid], 0.259999, 0.799991); PlayerTextDrawColor(playerid,Boxstatus20[playerid], -808464385); PlayerTextDrawSetOutline(playerid,Boxstatus20[playerid], 1); PlayerTextDrawSetProportional(playerid,Boxstatus20[playerid], 1); PlayerTextDrawSetPreviewModel(playerid,Boxstatus20[playerid], 123); PlayerTextDrawSetPreviewRot(playerid,Boxstatus20[playerid], -16.000000, 0.000000, -55.000000, 1.000000); PlayerTextDrawSetSelectable(playerid,Boxstatus20[playerid], 0); Boxstatus21[playerid] = CreatePlayerTextDraw(playerid,206.000000, 306.000000, "Casas: 4"); PlayerTextDrawBackgroundColor(playerid,Boxstatus21[playerid], 1330597887); PlayerTextDrawFont(playerid,Boxstatus21[playerid], 1); PlayerTextDrawLetterSize(playerid,Boxstatus21[playerid], 0.259999, 0.799991); PlayerTextDrawColor(playerid,Boxstatus21[playerid], -808464385); PlayerTextDrawSetOutline(playerid,Boxstatus21[playerid], 1); PlayerTextDrawSetProportional(playerid,Boxstatus21[playerid], 1); PlayerTextDrawSetPreviewModel(playerid,Boxstatus21[playerid], 123); PlayerTextDrawSetPreviewRot(playerid,Boxstatus21[playerid], -16.000000, 0.000000, -55.000000, 1.000000); PlayerTextDrawSetSelectable(playerid,Boxstatus21[playerid], 0); Boxstatus22[playerid] = CreatePlayerTextDraw(playerid,206.000000, 315.000000, "Empresas: 4"); PlayerTextDrawBackgroundColor(playerid,Boxstatus22[playerid], 1330597887); PlayerTextDrawFont(playerid,Boxstatus22[playerid], 1); PlayerTextDrawLetterSize(playerid,Boxstatus22[playerid], 0.259999, 0.799991); PlayerTextDrawColor(playerid,Boxstatus22[playerid], -808464385); PlayerTextDrawSetOutline(playerid,Boxstatus22[playerid], 1); PlayerTextDrawSetProportional(playerid,Boxstatus22[playerid], 1); PlayerTextDrawSetPreviewModel(playerid,Boxstatus22[playerid], 123); PlayerTextDrawSetPreviewRot(playerid,Boxstatus22[playerid], -16.000000, 0.000000, -55.000000, 1.000000); PlayerTextDrawSetSelectable(playerid,Boxstatus22[playerid], 0); Boxstatus23[playerid] = CreatePlayerTextDraw(playerid,164.000000, 191.000000, "A"); PlayerTextDrawBackgroundColor(playerid,Boxstatus23[playerid], 255); PlayerTextDrawFont(playerid,Boxstatus23[playerid], 1); PlayerTextDrawLetterSize(playerid,Boxstatus23[playerid], 0.680000, 2.899991); PlayerTextDrawColor(playerid,Boxstatus23[playerid], -1); PlayerTextDrawSetOutline(playerid,Boxstatus23[playerid], 0); PlayerTextDrawSetProportional(playerid,Boxstatus23[playerid], 1); PlayerTextDrawSetShadow(playerid,Boxstatus23[playerid], 1); PlayerTextDrawSetPreviewModel(playerid,Boxstatus23[playerid], 123); PlayerTextDrawSetPreviewRot(playerid,Boxstatus23[playerid], -16.000000, 0.000000, -55.000000, 1.000000); PlayerTextDrawSetSelectable(playerid,Boxstatus23[playerid], 0); Boxstatus24[playerid] = CreatePlayerTextDraw(playerid,166.000000, 130.000000, "S"); PlayerTextDrawBackgroundColor(playerid,Boxstatus24[playerid], 255); PlayerTextDrawFont(playerid,Boxstatus24[playerid], 1); PlayerTextDrawLetterSize(playerid,Boxstatus24[playerid], 0.680000, 2.899991); PlayerTextDrawColor(playerid,Boxstatus24[playerid], -1); PlayerTextDrawSetOutline(playerid,Boxstatus24[playerid], 0); PlayerTextDrawSetProportional(playerid,Boxstatus24[playerid], 1); PlayerTextDrawSetShadow(playerid,Boxstatus24[playerid], 1); PlayerTextDrawSetPreviewModel(playerid,Boxstatus24[playerid], 123); PlayerTextDrawSetPreviewRot(playerid,Boxstatus24[playerid], -16.000000, 0.000000, -55.000000, 1.000000); PlayerTextDrawSetSelectable(playerid,Boxstatus24[playerid], 0); Boxstatus25[playerid] = CreatePlayerTextDraw(playerid,166.000000, 157.000000, "T"); PlayerTextDrawBackgroundColor(playerid,Boxstatus25[playerid], 255); PlayerTextDrawFont(playerid,Boxstatus25[playerid], 1); PlayerTextDrawLetterSize(playerid,Boxstatus25[playerid], 0.680000, 2.899991); PlayerTextDrawColor(playerid,Boxstatus25[playerid], -1); PlayerTextDrawSetOutline(playerid,Boxstatus25[playerid], 0); PlayerTextDrawSetProportional(playerid,Boxstatus25[playerid], 1); PlayerTextDrawSetShadow(playerid,Boxstatus25[playerid], 1); PlayerTextDrawSetPreviewModel(playerid,Boxstatus25[playerid], 123); PlayerTextDrawSetPreviewRot(playerid,Boxstatus25[playerid], -16.000000, 0.000000, -55.000000, 1.000000); PlayerTextDrawSetSelectable(playerid,Boxstatus25[playerid], 0); Boxstatus26[playerid] = CreatePlayerTextDraw(playerid,166.000000, 223.000000, "T"); PlayerTextDrawBackgroundColor(playerid,Boxstatus26[playerid], 255); PlayerTextDrawFont(playerid,Boxstatus26[playerid], 1); PlayerTextDrawLetterSize(playerid,Boxstatus26[playerid], 0.680000, 2.899991); PlayerTextDrawColor(playerid,Boxstatus26[playerid], -1); PlayerTextDrawSetOutline(playerid,Boxstatus26[playerid], 0); PlayerTextDrawSetProportional(playerid,Boxstatus26[playerid], 1); PlayerTextDrawSetShadow(playerid,Boxstatus26[playerid], 1); PlayerTextDrawSetPreviewModel(playerid,Boxstatus26[playerid], 123); PlayerTextDrawSetPreviewRot(playerid,Boxstatus26[playerid], -16.000000, 0.000000, -55.000000, 1.000000); PlayerTextDrawSetSelectable(playerid,Boxstatus26[playerid], 0); Boxstatus27[playerid] = CreatePlayerTextDraw(playerid,165.000000, 252.000000, "U"); PlayerTextDrawBackgroundColor(playerid, Boxstatus27[playerid], 255); PlayerTextDrawFont(playerid, Boxstatus27[playerid], 1); PlayerTextDrawLetterSize(playerid, Boxstatus27[playerid], 0.680000, 2.899991); PlayerTextDrawColor(playerid, Boxstatus27[playerid], -1); PlayerTextDrawSetOutline(playerid, Boxstatus27[playerid], 0); PlayerTextDrawSetProportional(playerid, Boxstatus27[playerid], 1); PlayerTextDrawSetShadow(playerid, Boxstatus27[playerid], 1); PlayerTextDrawSetPreviewModel(playerid, Boxstatus27[playerid], 123); PlayerTextDrawSetPreviewRot(playerid, Boxstatus27[playerid], -16.000000, 0.000000, -55.000000, 1.000000); PlayerTextDrawSetSelectable(playerid, Boxstatus27[playerid], 0); Boxstatus28[playerid] = CreatePlayerTextDraw(playerid,165.000000, 283.000000, "S"); PlayerTextDrawBackgroundColor(playerid, Boxstatus28[playerid], 255); PlayerTextDrawFont(playerid, Boxstatus28[playerid], 1); PlayerTextDrawLetterSize(playerid, Boxstatus28[playerid], 0.680000, 2.899991); PlayerTextDrawColor(playerid, Boxstatus28[playerid], -1); PlayerTextDrawSetOutline(playerid, Boxstatus28[playerid], 0); PlayerTextDrawSetProportional(playerid, Boxstatus28[playerid], 1); PlayerTextDrawSetShadow(playerid, Boxstatus28[playerid], 1); PlayerTextDrawSetPreviewModel(playerid, Boxstatus28[playerid], 123); PlayerTextDrawSetPreviewRot(playerid, Boxstatus28[playerid], -16.000000, 0.000000, -55.000000, 1.000000); PlayerTextDrawSetSelectable(playerid, Boxstatus28[playerid], 0); Boxstatus29[playerid] = CreatePlayerTextDraw(playerid,375.000000, 317.000000, " "); PlayerTextDrawBackgroundColor(playerid, Boxstatus29[playerid], -5963521); PlayerTextDrawFont(playerid, Boxstatus29[playerid], 1); PlayerTextDrawLetterSize(playerid, Boxstatus29[playerid], 0.350000, 0.799990); PlayerTextDrawColor(playerid, Boxstatus29[playerid], 255); PlayerTextDrawSetOutline(playerid, Boxstatus29[playerid], 1); PlayerTextDrawSetProportional(playerid, Boxstatus29[playerid], 1); PlayerTextDrawSetSelectable(playerid, Boxstatus29[playerid], 0); Boxstatus30 = CreatePlayerTextDraw(playerid,138.000000, 130.000000, "_"); PlayerTextDrawBackgroundColor(playerid,Boxstatus30 , 65535); PlayerTextDrawFont(playerid,Boxstatus30, 1); PlayerTextDrawLetterSize(playerid,Boxstatus30, 2.000000, -1.100009); PlayerTextDrawColor(playerid,Boxstatus30, -1); PlayerTextDrawSetOutline(playerid,Boxstatus30, 0); PlayerTextDrawSetProportional(playerid,Boxstatus30 , 1); PlayerTextDrawSetShadow(playerid,Boxstatus30, 1); PlayerTextDrawUseBox(playerid,Boxstatus30, 1); PlayerTextDrawBoxColor(playerid,Boxstatus30, -808464385); PlayerTextDrawTextSize(playerid,Boxstatus30, 490.000000, 50.000000); PlayerTextDrawSetSelectable(playerid,Boxstatus30, 0); Boxstatus31 = CreatePlayerTextDraw(playerid,138.000000, 348.000000, "_"); PlayerTextDrawBackgroundColor(playerid,Boxstatus31 , 65535); PlayerTextDrawFont(playerid,Boxstatus31, 1); PlayerTextDrawLetterSize(playerid,Boxstatus31, 2.000000, -1.100009); PlayerTextDrawColor(playerid,Boxstatus31, -1); PlayerTextDrawSetOutline(playerid,Boxstatus31, 0); PlayerTextDrawSetProportional(playerid,Boxstatus31 , 1); PlayerTextDrawSetShadow(playerid,Boxstatus31, 1); PlayerTextDrawUseBox(playerid,Boxstatus31, 1); PlayerTextDrawBoxColor(playerid,Boxstatus31, -808464385); PlayerTextDrawTextSize(playerid,Boxstatus31, 490.000000, 50.000000); PlayerTextDrawSetSelectable(playerid,Boxstatus31, 0); Classe = CreatePlayerTextDraw(playerid,250.000000, 329.000000, " "); PlayerTextDrawBackgroundColor(playerid, Classe, 255); PlayerTextDrawFont(playerid, Classe, 1); PlayerTextDrawLetterSize(playerid, Classe, 0.500000, 1.000000); PlayerTextDrawColor(playerid, Classe, 16777215); PlayerTextDrawSetOutline(playerid, Classe, 1); PlayerTextDrawSetProportional(playerid, Classe, 1); PlayerTextDrawAlignment(playerid, Classe, 2); Altitude[playerid] = CreatePlayerTextDraw(playerid, 546.000000, 322.000000, " "); PlayerTextDrawBackgroundColor(playerid,Altitude[playerid], 65535); PlayerTextDrawFont(playerid,Altitude[playerid], 1); PlayerTextDrawLetterSize(playerid,Altitude[playerid], 0.250000, 1.200000); PlayerTextDrawColor(playerid,Altitude[playerid], -1); PlayerTextDrawSetOutline(playerid,Altitude[playerid], 1); PlayerTextDrawSetProportional(playerid,Altitude[playerid], 1); PlayerTextDrawUseBox(playerid,Altitude[playerid], 1); PlayerTextDrawBoxColor(playerid,Altitude[playerid], 0x00000044); PlayerTextDrawTextSize(playerid,Altitude[playerid], 641.000000, 2.000000); Trabalho[playerid] = CreatePlayerTextDraw(playerid,320.0, 430.0, " "); PlayerTextDrawAlignment(playerid,Trabalho[playerid], 2); PlayerTextDrawFont(playerid,Trabalho[playerid], 2); PlayerTextDrawLetterSize (playerid,Trabalho[playerid], 0.260000, 1.400000); PlayerTextDrawColor (playerid,Trabalho[playerid], -1); PlayerTextDrawSetProportional (playerid,Trabalho[playerid], 1); PlayerTextDrawSetShadow (playerid,Trabalho[playerid], 1); PlayerTextDrawUseBox(playerid,Trabalho[playerid], 2); PlayerTextDrawBoxColor(playerid,Trabalho[playerid], 336906330); PlayerTextDrawSetOutline(playerid,Trabalho[playerid], 1); Velocimetro[playerid] = CreatePlayerTextDraw(playerid,546.000000, 375.000000, " "); PlayerTextDrawBackgroundColor(playerid,Velocimetro[playerid], 65535); PlayerTextDrawFont(playerid,Velocimetro[playerid], 1); PlayerTextDrawLetterSize(playerid,Velocimetro[playerid], 0.250000, 1.200000); PlayerTextDrawColor(playerid,Velocimetro[playerid], -1); PlayerTextDrawSetOutline(playerid,Velocimetro[playerid], 1); PlayerTextDrawSetProportional(playerid,Velocimetro[playerid], 1); PlayerTextDrawUseBox(playerid,Velocimetro[playerid], 1); PlayerTextDrawBoxColor(playerid,Velocimetro[playerid], 0x00000044); PlayerTextDrawTextSize(playerid,Velocimetro[playerid], 654.000000, -57.000000); Gasolina[playerid] = CreatePlayerTextDraw(playerid,546.000000, 391.000000, " "); PlayerTextDrawBackgroundColor(playerid,Gasolina[playerid], 65535); PlayerTextDrawFont(playerid,Gasolina[playerid], 2); PlayerTextDrawLetterSize(playerid,Gasolina[playerid], 0.340000, 1.000000); PlayerTextDrawColor(playerid,Gasolina[playerid], -1); PlayerTextDrawSetOutline(playerid,Gasolina[playerid], 1); PlayerTextDrawSetProportional(playerid,Gasolina[playerid], 0); PlayerTextDrawUseBox(playerid,Gasolina[playerid], 1); PlayerTextDrawBoxColor(playerid,Gasolina[playerid], 0x00000044); PlayerTextDrawTextSize(playerid,Gasolina[playerid], 654.000000, -57.000000); NomeVeiculo[playerid] = CreatePlayerTextDraw(playerid,546.000000, 357.000000, " "); PlayerTextDrawBackgroundColor(playerid,NomeVeiculo[playerid], 65535); PlayerTextDrawFont(playerid,NomeVeiculo[playerid], 1); PlayerTextDrawLetterSize(playerid,NomeVeiculo[playerid], 0.280000, 1.200000); PlayerTextDrawColor(playerid,NomeVeiculo[playerid], -1); PlayerTextDrawSetOutline(playerid,NomeVeiculo[playerid], 1); PlayerTextDrawSetProportional(playerid,NomeVeiculo[playerid], 1); PlayerTextDrawUseBox(playerid,NomeVeiculo[playerid], 1); PlayerTextDrawBoxColor(playerid,NomeVeiculo[playerid], 0x00000044); PlayerTextDrawTextSize(playerid,NomeVeiculo[playerid], 641.000000, 2.000000); Local[playerid] = CreatePlayerTextDraw(playerid,546.000000, 339.000000, " "); PlayerTextDrawBackgroundColor(playerid,Local[playerid], 65535); PlayerTextDrawFont(playerid,Local[playerid], 1); PlayerTextDrawLetterSize(playerid,Local[playerid], 0.280000, 1.200000); PlayerTextDrawColor(playerid,Local[playerid], -1); PlayerTextDrawSetOutline(playerid,Local[playerid], 1); PlayerTextDrawSetProportional(playerid,Local[playerid], 1); PlayerTextDrawUseBox(playerid,Local[playerid], 1); PlayerTextDrawBoxColor(playerid,Local[playerid], 0x00000044); PlayerTextDrawTextSize(playerid,Local[playerid], 641.000000, 2.000000); Status1[playerid] = CreatePlayerTextDraw(playerid,123.000000, 417.000000, " "); PlayerTextDrawFont(playerid,Status1[playerid], 2); PlayerTextDrawLetterSize(playerid,Status1[playerid], 0.159999, 1.000000); PlayerTextDrawColor(playerid,Status1[playerid], -1); PlayerTextDrawSetOutline(playerid,Status1[playerid], 1); PlayerTextDrawSetProportional(playerid,Status1[playerid], 1); PlayerTextDrawUseBox(playerid,Status1[playerid], 1); PlayerTextDrawBoxColor(playerid,Status1[playerid], 336906330); PlayerTextDrawTextSize(playerid,Status1[playerid], 637.000000, 0.000000); Status2[playerid] = CreatePlayerTextDraw(playerid,183.000000, 417.000000, " "); PlayerTextDrawFont(playerid,Status2[playerid], 2); PlayerTextDrawLetterSize(playerid,Status2[playerid], 0.170000, 1.000000); PlayerTextDrawColor(playerid,Status2[playerid], -1); PlayerTextDrawSetOutline(playerid,Status2[playerid], 1); PlayerTextDrawSetProportional(playerid,Status2[playerid], 1); Status3[playerid] = CreatePlayerTextDraw(playerid,260.000000, 417.000000, " "); PlayerTextDrawFont(playerid,Status3[playerid], 2); PlayerTextDrawLetterSize(playerid,Status3[playerid], 0.149999, 1.000000); PlayerTextDrawColor(playerid,Status3[playerid], -1); PlayerTextDrawSetOutline(playerid,Status3[playerid], 1); PlayerTextDrawSetProportional(playerid,Status3[playerid], 1); Status4[playerid] = CreatePlayerTextDraw(playerid,376.000000, 417.000000, " "); PlayerTextDrawFont(playerid,Status4[playerid], 2); PlayerTextDrawLetterSize(playerid,Status4[playerid], 0.149999, 1.000000); PlayerTextDrawColor(playerid,Status4[playerid], -1); PlayerTextDrawSetOutline(playerid,Status4[playerid], 1); PlayerTextDrawSetProportional(playerid,Status4[playerid], 1); Status5[playerid] = CreatePlayerTextDraw(playerid,524.000000, 417.000000, " "); PlayerTextDrawFont(playerid,Status5[playerid], 2); PlayerTextDrawLetterSize(playerid, Status5[playerid], 0.149999, 1.000000); PlayerTextDrawColor(playerid, Status5[playerid], -1); PlayerTextDrawSetOutline(playerid, Status5[playerid], 1); PlayerTextDrawSetProportional(playerid, Status5[playerid], 1); Pontos[playerid] = CreatePlayerTextDraw(playerid, 48.000000, 301.000000, " "); PlayerTextDrawFont(playerid, Pontos[playerid], 1); PlayerTextDrawLetterSize(playerid, Pontos[playerid], 0.280000, 1.000000); PlayerTextDrawColor(playerid, Pontos[playerid], -16776961); PlayerTextDrawSetOutline(playerid, Pontos[playerid], 1); PlayerTextDrawSetProportional(playerid, Pontos[playerid], 1); TextDrawShowForPlayer(playerid, Intro1); TextDrawShowForPlayer(playerid, Intro6); TextDrawShowForPlayer(playerid, Intro5); TextDrawShowForPlayer(playerid, Intro2); TextDrawShowForPlayer(playerid, Intro3); TextDrawShowForPlayer(playerid, Intro4); TextDrawShowForPlayer(playerid, Intro7); TextDrawShowForPlayer(playerid, Intro; CreateTicTD(playerid); Congelado[playerid] = false; Passou[playerid] = false; Hiden[playerid] = false; Neon[0][playerid] = -1; Neon[1][playerid] = -1; Autorizar[playerid] = 0; FazendoBonus[playerid] = 0; ChamarAdvogado[playerid] = 0; TaNaPrisao[playerid] = 0; APlayerData[playerid][Barreira] = 0; LerPms[playerid] = false; PlayerInfo[playerid][Carregou] = false; PmBlock[playerid] = false; PlayerInfo[playerid][NoEvento] = 0; PlayerInfo[playerid][Carro] = 0; PlayerInfo[playerid][Calado] = 0; APlayerData[playerid][LoggedIn] = true; eDuelo[playerid] = false; peDuelos[playerid] = 0; reDuelos[playerid] = 0; acDuelos[playerid] = 0; emDuelos[playerid] = 0; wDuelos[playerid] = 0; lDuelos[playerid] = 0; ChecarBan(playerid); KillTimer(APlayerData[playerid][PlayerJailedTimer]); RemoveBuildingForPlayer(playerid, 1290, -2682.0313, 1284.4375, 60.4922, 0.25); SetPlayerAttachedObject(playerid,1,19006,2,0.1,0.0 4,0.0,60.0,85.0,25.0,1.0,1.0,1.0); TextoHead[playerid] = Create3DTextLabel(" ",0x0083ADFF,0,0,0,40,0,0); TextoCabeca[playerid] = Create3DTextLabel(" ",0xF4A460FF,0,0,0,40,0,0); Attach3DTextLabelToPlayer(TextoHead[playerid], playerid, 0.0, 0.0, 0.5); Attach3DTextLabelToPlayer(TextoCabeca[playerid], playerid, 0.0, 0.0, 0.6); APlayerData[playerid][SpeedometerTimer] = SetTimerEx("Speedometer_Update", 500, true, "i", playerid); if(!IsPlayerNPC(playerid)) pObject[playerid][slotreserved] = false; new Arq[50]; format(Arq, sizeof(Arq), rDuelos, rNome(playerid)); if (DOF2_FileExists(Arq)) { dCarregar(playerid); }else{ dSalvar(playerid); } new connecting_ip[32+1]; GetPlayerIp(playerid,connecting_ip,32); new num_players_on_ip = GetNumberOfPlayersOnThisIP(connecting_ip); if(num_players_on_ip > MAX_CONNECTIONS_FROM_IP) { printf("MAXIPs: Conexхes com o id (%d) excedido %d Conexхes do IP %s.", playerid, MAX_CONNECTIONS_FROM_IP, connecting_ip); BanEx(playerid,"Tentou adicionar bots no SERVIDOR"); return 1; } CarregarRemove(playerid); SendClientMessage(playerid, 0xFFFFFFFF, "{FF0000}o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o =o=o=oo=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o"); SendClientMessage(playerid, 0xFFFFFFFF, "{FF0000}"); SendClientMessage(playerid, 0xFFFFFFFF, "{FF0000}"); SendClientMessage(playerid, 0xFFFFFFFF, "{98FF98} Bem vindo ao {FFBF60}Brasil Caminhoneiro Louco"); SendClientMessage(playerid, 0xFFFFFFFF, "{FF0000}"); SendClientMessage(playerid, 0xFFFFFFFF, "{FF0000}"); SendClientMessage(playerid, 0xFFFFFFFF, "{FF0000}o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o =o=o=oo=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o"); SendDeathMessage(INVALID_PLAYER_ID,playerid,200); GetPlayerName(playerid, APlayerData[playerid][PlayerName], 24); SetPVarInt(playerid, "PVarMoney", 0); SetPVarInt(playerid, "PVarScore", 0); new HouseID; if (PlayerFile_Load(playerid) == 1) { BankFile_Load(playerid); } else { PlayerFile_Create(playerid); PlayerFile_Load(playerid); } for (new HouseSlot; HouseSlot < MAX_HOUSESPERPLAYER; HouseSlot++) { HouseID = APlayerData[playerid][Houses][HouseSlot]; if (HouseID != 0) HouseFile_Load(HouseID, true); } new str[128]; format( str, sizeof( str ), "{FFFF00}Seu ultimo login foi em: %02d/%02d", APlayerData[playerid][LoginAno], APlayerData[playerid][LoginMes], APlayerData[playerid][LoginMes]); SendClientMessage(playerid, -1, str); new tito[128]; format ( tito , sizeof ( tito ) , "%s conectou no servidor. %s", Nick(playerid), APlayerData[playerid][Frase]); SendClientMessageToAll ( 0x8FBC8FFF , tito); new String[128]; format(String, sizeof(String), "Sua frase de entrada %s foi mostrada para todos!", APlayerData[playerid][Frase]); SendClientMessage(playerid, 0x00BFFFAA, String); if(IsPlayerNPC(playerid)) return false; static playerip[24]; GetPlayerIp(playerid, playerip, 24); if(gettime() - varGet(playerip) < 2) { strcat(playerip, "di_S"); if(gettime() - varGet(playerip) < 3) return false; printf("%d Entrou em menos de 2 segundos", playerid); GetPlayerIp(playerid, playerip, 20); varSet(playerip, gettime()); strcat(playerip, "x"); static timers ; timers = varGet(playerip); varSet(playerip, 1+ timers); if(timers > 2) { playerip[strlen(playerip) - 2] = 0; printf("BOT: ID -> %d IP -> %s", playerid, playerip); BanEx(playerid, "Bot Connect"); } } return varSet(playerip, gettime()); } |