Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- YCMD:stats(playerid, params[],help)
- {
- #pragma unused help
- #pragma unused params
- if(UlogovanProvera[playerid] == 0) return GreskaMessage(playerid, "Moras se ulogovati da bi koristio ovu komandu!");
- if(IsPlayerInAnyVehicle(playerid)) return SCM(playerid, COLOR_GRESKA," "PPLAVA"BS: "BELA"] {0B83E6}Ne mozete gledati stats dok ste u vozilu!");
- KreirajStats(playerid);
- return 1;
- }
- //////////////////////////////////////////////
- stock KreirajStats(playerid)
- {
- if(KreiranStats[playerid] == 0)
- {
- UPSTATS[0][playerid] = CreatePlayerTextDraw(playerid,523.000000, 128.000000, "_");
- PlayerTextDrawBackgroundColor(playerid,UPSTATS[0][playerid], 255);
- PlayerTextDrawFont(playerid,UPSTATS[0][playerid], 1);
- PlayerTextDrawLetterSize(playerid,UPSTATS[0][playerid], 0.759999, 24.099966);
- PlayerTextDrawColor(playerid,UPSTATS[0][playerid], -1);
- PlayerTextDrawSetOutline(playerid,UPSTATS[0][playerid], 0);
- PlayerTextDrawSetProportional(playerid,UPSTATS[0][playerid], 1);
- PlayerTextDrawSetShadow(playerid,UPSTATS[0][playerid], 1);
- PlayerTextDrawUseBox(playerid,UPSTATS[0][playerid], 1);
- PlayerTextDrawBoxColor(playerid,UPSTATS[0][playerid], 1111638594);
- PlayerTextDrawTextSize(playerid,UPSTATS[0][playerid], 136.000000, -1.000000);
- UPSTATS[1][playerid] = CreatePlayerTextDraw(playerid,523.000000, 128.000000, "_");
- PlayerTextDrawBackgroundColor(playerid,UPSTATS[1][playerid], 255);
- PlayerTextDrawFont(playerid,UPSTATS[1][playerid], 1);
- PlayerTextDrawLetterSize(playerid,UPSTATS[1][playerid], 0.759999, -0.100033);
- PlayerTextDrawColor(playerid,UPSTATS[1][playerid], -16776961);
- PlayerTextDrawSetOutline(playerid,UPSTATS[1][playerid], 0);
- PlayerTextDrawSetProportional(playerid,UPSTATS[1][playerid], 1);
- PlayerTextDrawSetShadow(playerid,UPSTATS[1][playerid], 1);
- PlayerTextDrawUseBox(playerid,UPSTATS[1][playerid], 1);
- PlayerTextDrawBoxColor(playerid,UPSTATS[1][playerid],0xFFFFFFAA );//848756735
- PlayerTextDrawTextSize(playerid,UPSTATS[1][playerid], 136.000000, -1.000000);
- UPSTATS[2][playerid] = CreatePlayerTextDraw(playerid,523.000000, 348.000000, "_");
- PlayerTextDrawBackgroundColor(playerid,UPSTATS[2][playerid], 255);
- PlayerTextDrawFont(playerid,UPSTATS[2][playerid], 1);
- PlayerTextDrawLetterSize(playerid,UPSTATS[2][playerid], 0.759999, -0.100033);
- PlayerTextDrawColor(playerid,UPSTATS[2][playerid], -16776961);
- PlayerTextDrawSetOutline(playerid,UPSTATS[2][playerid], 0);
- PlayerTextDrawSetProportional(playerid,UPSTATS[2][playerid], 1);
- PlayerTextDrawSetShadow(playerid,UPSTATS[2][playerid], 1);
- PlayerTextDrawUseBox(playerid,UPSTATS[2][playerid], 1);
- PlayerTextDrawBoxColor(playerid,UPSTATS[2][playerid], 0xFFFFFFAA);
- PlayerTextDrawTextSize(playerid,UPSTATS[2][playerid], 136.000000, -1.000000);
- UPSTATS[3][playerid] = CreatePlayerTextDraw(playerid,258.000000, 135.000000, "Momenzi Buzyinski");
- PlayerTextDrawBackgroundColor(playerid,UPSTATS[3][playerid], 255);
- PlayerTextDrawFont(playerid,UPSTATS[3][playerid], 2);
- PlayerTextDrawLetterSize(playerid,UPSTATS[3][playerid], 0.470000, 1.400000);
- PlayerTextDrawColor(playerid,UPSTATS[3][playerid], -1);
- PlayerTextDrawSetOutline(playerid,UPSTATS[3][playerid], 0);
- PlayerTextDrawSetProportional(playerid,UPSTATS[3][playerid], 1);
- PlayerTextDrawSetShadow(playerid,UPSTATS[3][playerid], 1);
- UPSTATS[4][playerid] = CreatePlayerTextDraw(playerid,168.000000, 265.000000, "Posao ugovor: 5");
- PlayerTextDrawBackgroundColor(playerid,UPSTATS[4][playerid], 255);
- PlayerTextDrawFont(playerid,UPSTATS[4][playerid], 2);
- PlayerTextDrawLetterSize(playerid,UPSTATS[4][playerid], 0.320000, 1.200000);
- PlayerTextDrawColor(playerid,UPSTATS[4][playerid], -1);
- PlayerTextDrawSetOutline(playerid,UPSTATS[4][playerid], 0);
- PlayerTextDrawSetProportional(playerid,UPSTATS[4][playerid], 1);
- PlayerTextDrawSetShadow(playerid,UPSTATS[4][playerid], 1);
- UPSTATS[5][playerid] = CreatePlayerTextDraw(playerid,162.000000, 281.000000, "Novac: 50000000$");
- PlayerTextDrawBackgroundColor(playerid,UPSTATS[5][playerid], 255);
- PlayerTextDrawFont(playerid,UPSTATS[5][playerid], 2);
- PlayerTextDrawLetterSize(playerid,UPSTATS[5][playerid], 0.320000, 1.200000);
- PlayerTextDrawColor(playerid,UPSTATS[5][playerid], -1);
- PlayerTextDrawSetOutline(playerid,UPSTATS[5][playerid], 0);
- PlayerTextDrawSetProportional(playerid,UPSTATS[5][playerid], 1);
- PlayerTextDrawSetShadow(playerid,UPSTATS[5][playerid], 1);
- UPSTATS[6][playerid] = CreatePlayerTextDraw(playerid,432.000000, 187.000000, "Auto: Da");
- PlayerTextDrawBackgroundColor(playerid,UPSTATS[6][playerid], 255);
- PlayerTextDrawFont(playerid,UPSTATS[6][playerid], 2);
- PlayerTextDrawLetterSize(playerid,UPSTATS[6][playerid], 0.320000, 1.200000);
- PlayerTextDrawColor(playerid,UPSTATS[6][playerid], -1);
- PlayerTextDrawSetOutline(playerid,UPSTATS[6][playerid], 0);
- PlayerTextDrawSetProportional(playerid,UPSTATS[6][playerid], 1);
- PlayerTextDrawSetShadow(playerid,UPSTATS[6][playerid], 1);
- UPSTATS[7][playerid] = CreatePlayerTextDraw(playerid,334.000000, 203.000000, "Motor: Da");
- PlayerTextDrawBackgroundColor(playerid,UPSTATS[7][playerid], 255);
- PlayerTextDrawFont(playerid,UPSTATS[7][playerid], 2);
- PlayerTextDrawLetterSize(playerid,UPSTATS[7][playerid], 0.320000, 1.200000);
- PlayerTextDrawColor(playerid,UPSTATS[7][playerid], -1);
- PlayerTextDrawSetOutline(playerid,UPSTATS[7][playerid], 0);
- PlayerTextDrawSetProportional(playerid,UPSTATS[7][playerid], 1);
- PlayerTextDrawSetShadow(playerid,UPSTATS[7][playerid], 1);
- UPSTATS[8][playerid] = CreatePlayerTextDraw(playerid,523.000000, 158.000000, "_");
- PlayerTextDrawBackgroundColor(playerid,UPSTATS[8][playerid], 255);
- PlayerTextDrawFont(playerid,UPSTATS[8][playerid], 1);
- PlayerTextDrawLetterSize(playerid,UPSTATS[8][playerid], 0.759999, -0.100033);
- PlayerTextDrawColor(playerid,UPSTATS[8][playerid], -16776961);
- PlayerTextDrawSetOutline(playerid,UPSTATS[8][playerid], 0);
- PlayerTextDrawSetProportional(playerid,UPSTATS[8][playerid], 1);
- PlayerTextDrawSetShadow(playerid,UPSTATS[8][playerid], 1);
- PlayerTextDrawUseBox(playerid,UPSTATS[8][playerid], 1);
- PlayerTextDrawBoxColor(playerid,UPSTATS[8][playerid], 0xFFFFFFAA);
- PlayerTextDrawTextSize(playerid,UPSTATS[8][playerid], 136.000000, -1.000000);
- UPSTATS[9][playerid] = CreatePlayerTextDraw(playerid,327.000000, 163.000000, "_");
- PlayerTextDrawBackgroundColor(playerid,UPSTATS[9][playerid], 255);
- PlayerTextDrawFont(playerid,UPSTATS[9][playerid], 1);
- PlayerTextDrawLetterSize(playerid,UPSTATS[9][playerid], 0.870000, 20.299964);
- PlayerTextDrawColor(playerid,UPSTATS[9][playerid], -16776961);
- PlayerTextDrawSetOutline(playerid,UPSTATS[9][playerid], 0);
- PlayerTextDrawSetProportional(playerid,UPSTATS[9][playerid], 1);
- PlayerTextDrawSetShadow(playerid,UPSTATS[9][playerid], 1);
- PlayerTextDrawUseBox(playerid,UPSTATS[9][playerid], 1);
- PlayerTextDrawBoxColor(playerid,UPSTATS[9][playerid], 0xFFFFFFAA);
- PlayerTextDrawTextSize(playerid,UPSTATS[9][playerid], 310.000000, -4.000000);
- UPSTATS[10][playerid] = CreatePlayerTextDraw(playerid,161.000000, 330.000000, "Masinovodja");
- PlayerTextDrawBackgroundColor(playerid,UPSTATS[10][playerid], 255);
- PlayerTextDrawFont(playerid,UPSTATS[10][playerid], 2);
- PlayerTextDrawLetterSize(playerid,UPSTATS[10][playerid], 0.400000, 1.100000);
- PlayerTextDrawColor(playerid,UPSTATS[10][playerid], -1);
- PlayerTextDrawSetOutline(playerid,UPSTATS[10][playerid], 0);
- PlayerTextDrawSetProportional(playerid,UPSTATS[10][playerid], 1);
- PlayerTextDrawSetShadow(playerid,UPSTATS[10][playerid], 1);
- UPSTATS[11][playerid] = CreatePlayerTextDraw(playerid,523.000000, 324.000000, "_");
- PlayerTextDrawBackgroundColor(playerid,UPSTATS[11][playerid], 255);
- PlayerTextDrawFont(playerid,UPSTATS[11][playerid], 1);
- PlayerTextDrawLetterSize(playerid,UPSTATS[11][playerid], 0.759999, -0.100033);
- PlayerTextDrawColor(playerid,UPSTATS[11][playerid], -16776961);
- PlayerTextDrawSetOutline(playerid,UPSTATS[11][playerid], 0);
- PlayerTextDrawSetProportional(playerid,UPSTATS[11][playerid], 1);
- PlayerTextDrawSetShadow(playerid,UPSTATS[11][playerid], 1);
- PlayerTextDrawUseBox(playerid,UPSTATS[11][playerid], 1);
- PlayerTextDrawBoxColor(playerid,UPSTATS[11][playerid], 0xFFFFFFAA);
- PlayerTextDrawTextSize(playerid,UPSTATS[11][playerid], 136.000000, -1.000000);
- UPSTATS[12][playerid] = CreatePlayerTextDraw(playerid,164.000000, 186.000000, "Respekti: 50/500");
- PlayerTextDrawBackgroundColor(playerid,UPSTATS[12][playerid], 255);
- PlayerTextDrawFont(playerid,UPSTATS[12][playerid], 2);
- PlayerTextDrawLetterSize(playerid,UPSTATS[12][playerid], 0.320000, 1.200000);
- PlayerTextDrawColor(playerid,UPSTATS[12][playerid], -1);
- PlayerTextDrawSetOutline(playerid,UPSTATS[12][playerid], 0);
- PlayerTextDrawSetProportional(playerid,UPSTATS[12][playerid], 1);
- PlayerTextDrawSetShadow(playerid,UPSTATS[12][playerid], 1);
- UPSTATS[13][playerid] = CreatePlayerTextDraw(playerid,188.000000, 170.000000, "Level: 50");
- PlayerTextDrawBackgroundColor(playerid,UPSTATS[13][playerid], 255);
- PlayerTextDrawFont(playerid,UPSTATS[13][playerid], 2);
- PlayerTextDrawLetterSize(playerid,UPSTATS[13][playerid], 0.320000, 1.200000);
- PlayerTextDrawColor(playerid,UPSTATS[13][playerid], -1);
- PlayerTextDrawSetOutline(playerid,UPSTATS[13][playerid], 0);
- PlayerTextDrawSetProportional(playerid,UPSTATS[13][playerid], 1);
- PlayerTextDrawSetShadow(playerid,UPSTATS[13][playerid], 1);
- UPSTATS[14][playerid] = CreatePlayerTextDraw(playerid,334.000000, 330.000000, "Balkan Step Police Department");
- PlayerTextDrawBackgroundColor(playerid,UPSTATS[14][playerid], 255);
- PlayerTextDrawFont(playerid,UPSTATS[14][playerid], 2);
- PlayerTextDrawLetterSize(playerid,UPSTATS[14][playerid], 0.250000, 1.200000);
- PlayerTextDrawColor(playerid,UPSTATS[14][playerid], -1);
- PlayerTextDrawSetOutline(playerid,UPSTATS[14][playerid], 0);
- PlayerTextDrawSetProportional(playerid,UPSTATS[14][playerid], 1);
- PlayerTextDrawSetShadow(playerid,UPSTATS[14][playerid], 1);
- UPSTATS[15][playerid] = CreatePlayerTextDraw(playerid,334.000000, 187.000000, "Plovilo: Da");
- PlayerTextDrawBackgroundColor(playerid,UPSTATS[15][playerid], 255);
- PlayerTextDrawFont(playerid,UPSTATS[15][playerid], 2);
- PlayerTextDrawLetterSize(playerid,UPSTATS[15][playerid], 0.320000, 1.200000);
- PlayerTextDrawColor(playerid,UPSTATS[15][playerid], -1);
- PlayerTextDrawSetOutline(playerid,UPSTATS[15][playerid], 0);
- PlayerTextDrawSetProportional(playerid,UPSTATS[15][playerid], 1);
- PlayerTextDrawSetShadow(playerid,UPSTATS[15][playerid], 1);
- UPSTATS[16][playerid] = CreatePlayerTextDraw(playerid,181.000000, 218.000000, "Rank org: 5");
- PlayerTextDrawBackgroundColor(playerid,UPSTATS[16][playerid], 255);
- PlayerTextDrawFont(playerid,UPSTATS[16][playerid], 2);
- PlayerTextDrawLetterSize(playerid,UPSTATS[16][playerid], 0.320000, 1.200000);
- PlayerTextDrawColor(playerid,UPSTATS[16][playerid], -1);
- PlayerTextDrawSetOutline(playerid,UPSTATS[16][playerid], 0);
- PlayerTextDrawSetProportional(playerid,UPSTATS[16][playerid], 1);
- PlayerTextDrawSetShadow(playerid,UPSTATS[16][playerid], 1);
- UPSTATS[17][playerid] = CreatePlayerTextDraw(playerid,174.000000, 202.000000, "Sati igre: 1000");
- PlayerTextDrawBackgroundColor(playerid,UPSTATS[17][playerid], 255);
- PlayerTextDrawFont(playerid,UPSTATS[17][playerid], 2);
- PlayerTextDrawLetterSize(playerid,UPSTATS[17][playerid], 0.320000, 1.200000);
- PlayerTextDrawColor(playerid,UPSTATS[17][playerid], -1);
- PlayerTextDrawSetOutline(playerid,UPSTATS[17][playerid], 0);
- PlayerTextDrawSetProportional(playerid,UPSTATS[17][playerid], 1);
- PlayerTextDrawSetShadow(playerid,UPSTATS[17][playerid], 1);
- UPSTATS[18][playerid] = CreatePlayerTextDraw(playerid,176.000000, 234.000000, "Org Kazna: 15");
- PlayerTextDrawBackgroundColor(playerid,UPSTATS[18][playerid], 255);
- PlayerTextDrawFont(playerid,UPSTATS[18][playerid], 2);
- PlayerTextDrawLetterSize(playerid,UPSTATS[18][playerid], 0.320000, 1.200000);
- PlayerTextDrawColor(playerid,UPSTATS[18][playerid], -1);
- PlayerTextDrawSetOutline(playerid,UPSTATS[18][playerid], 0);
- PlayerTextDrawSetProportional(playerid,UPSTATS[18][playerid], 1);
- PlayerTextDrawSetShadow(playerid,UPSTATS[18][playerid], 1);
- UPSTATS[19][playerid] = CreatePlayerTextDraw(playerid,185.000000, 249.000000, "Warn: 4/5");
- PlayerTextDrawBackgroundColor(playerid,UPSTATS[19][playerid], 255);
- PlayerTextDrawFont(playerid,UPSTATS[19][playerid], 2);
- PlayerTextDrawLetterSize(playerid,UPSTATS[19][playerid], 0.290000, 1.300000);
- PlayerTextDrawColor(playerid,UPSTATS[19][playerid], -1);
- PlayerTextDrawSetOutline(playerid,UPSTATS[19][playerid], 0);
- PlayerTextDrawSetProportional(playerid,UPSTATS[19][playerid], 1);
- PlayerTextDrawSetShadow(playerid,UPSTATS[19][playerid], 1);
- UPSTATS[20][playerid] = CreatePlayerTextDraw(playerid,162.000000, 296.000000, "Banka: 500000000$");
- PlayerTextDrawBackgroundColor(playerid,UPSTATS[20][playerid], 255);
- PlayerTextDrawFont(playerid,UPSTATS[20][playerid], 2);
- PlayerTextDrawLetterSize(playerid,UPSTATS[20][playerid], 0.320000, 1.200000);
- PlayerTextDrawColor(playerid,UPSTATS[20][playerid], -1);
- PlayerTextDrawSetOutline(playerid,UPSTATS[20][playerid], 0);
- PlayerTextDrawSetProportional(playerid,UPSTATS[20][playerid], 1);
- PlayerTextDrawSetShadow(playerid,UPSTATS[20][playerid], 1);
- UPSTATS[21][playerid] = CreatePlayerTextDraw(playerid,334.000000, 170.000000, "Kuca: Da");
- PlayerTextDrawBackgroundColor(playerid,UPSTATS[21][playerid], 255);
- PlayerTextDrawFont(playerid,UPSTATS[21][playerid], 2);
- PlayerTextDrawLetterSize(playerid,UPSTATS[21][playerid], 0.320000, 1.200000);
- PlayerTextDrawColor(playerid,UPSTATS[21][playerid], -1);
- PlayerTextDrawSetOutline(playerid,UPSTATS[21][playerid], 0);
- PlayerTextDrawSetProportional(playerid,UPSTATS[21][playerid], 1);
- PlayerTextDrawSetShadow(playerid,UPSTATS[21][playerid], 1);
- UPSTATS[22][playerid] = CreatePlayerTextDraw(playerid,424.000000, 203.000000, "Biciklo: Da");
- PlayerTextDrawBackgroundColor(playerid,UPSTATS[22][playerid], 255);
- PlayerTextDrawFont(playerid,UPSTATS[22][playerid], 2);
- PlayerTextDrawLetterSize(playerid,UPSTATS[22][playerid], 0.320000, 1.200000);
- PlayerTextDrawColor(playerid,UPSTATS[22][playerid], -1);
- PlayerTextDrawSetOutline(playerid,UPSTATS[22][playerid], 0);
- PlayerTextDrawSetProportional(playerid,UPSTATS[22][playerid], 1);
- PlayerTextDrawSetShadow(playerid,UPSTATS[22][playerid], 1);
- UPSTATS[23][playerid] = CreatePlayerTextDraw(playerid,407.000000, 170.000000, "Vikendica: Da");
- PlayerTextDrawBackgroundColor(playerid,UPSTATS[23][playerid], 255);
- PlayerTextDrawFont(playerid,UPSTATS[23][playerid], 2);
- PlayerTextDrawLetterSize(playerid,UPSTATS[23][playerid], 0.320000, 1.200000);
- PlayerTextDrawColor(playerid,UPSTATS[23][playerid], -1);
- PlayerTextDrawSetOutline(playerid,UPSTATS[23][playerid], 0);
- PlayerTextDrawSetProportional(playerid,UPSTATS[23][playerid], 1);
- PlayerTextDrawSetShadow(playerid,UPSTATS[23][playerid], 1);
- UPSTATS[24][playerid] = CreatePlayerTextDraw(playerid,335.000000, 221.000000, "Letjelica: Da");
- PlayerTextDrawBackgroundColor(playerid,UPSTATS[24][playerid], 255);
- PlayerTextDrawFont(playerid,UPSTATS[24][playerid], 2);
- PlayerTextDrawLetterSize(playerid,UPSTATS[24][playerid], 0.320000, 1.200000);
- PlayerTextDrawColor(playerid,UPSTATS[24][playerid], -1);
- PlayerTextDrawSetOutline(playerid,UPSTATS[24][playerid], 0);
- PlayerTextDrawSetProportional(playerid,UPSTATS[24][playerid], 1);
- PlayerTextDrawSetShadow(playerid,UPSTATS[24][playerid], 1);
- UPSTATS[25][playerid] = CreatePlayerTextDraw(playerid,438.000000, 221.000000, "Firma: Da");
- PlayerTextDrawBackgroundColor(playerid,UPSTATS[25][playerid], 255);
- PlayerTextDrawFont(playerid,UPSTATS[25][playerid], 2);
- PlayerTextDrawLetterSize(playerid,UPSTATS[25][playerid], 0.320000, 1.200000);
- PlayerTextDrawColor(playerid,UPSTATS[25][playerid], -1);
- PlayerTextDrawSetOutline(playerid,UPSTATS[25][playerid], 0);
- PlayerTextDrawSetProportional(playerid,UPSTATS[25][playerid], 1);
- PlayerTextDrawSetShadow(playerid,UPSTATS[25][playerid], 1);
- UPSTATS[26][playerid] = CreatePlayerTextDraw(playerid,336.000000, 238.000000, "Stan: Da");
- PlayerTextDrawBackgroundColor(playerid,UPSTATS[26][playerid], 255);
- PlayerTextDrawFont(playerid,UPSTATS[26][playerid], 2);
- PlayerTextDrawLetterSize(playerid,UPSTATS[26][playerid], 0.320000, 1.200000);
- PlayerTextDrawColor(playerid,UPSTATS[26][playerid], -1);
- PlayerTextDrawSetOutline(playerid,UPSTATS[26][playerid], 0);
- PlayerTextDrawSetProportional(playerid,UPSTATS[26][playerid], 1);
- PlayerTextDrawSetShadow(playerid,UPSTATS[26][playerid], 1);
- UPSTATS[27][playerid] = CreatePlayerTextDraw(playerid,419.000000, 238.000000, "Mobilni: Da");
- PlayerTextDrawBackgroundColor(playerid,UPSTATS[27][playerid], 255);
- PlayerTextDrawFont(playerid,UPSTATS[27][playerid], 2);
- PlayerTextDrawLetterSize(playerid,UPSTATS[27][playerid], 0.320000, 1.200000);
- PlayerTextDrawColor(playerid,UPSTATS[27][playerid], -1);
- PlayerTextDrawSetOutline(playerid,UPSTATS[27][playerid], 0);
- PlayerTextDrawSetProportional(playerid,UPSTATS[27][playerid], 1);
- PlayerTextDrawSetShadow(playerid,UPSTATS[27][playerid], 1);
- UPSTATS[28][playerid] = CreatePlayerTextDraw(playerid,523.000000, 258.000000, "_");
- PlayerTextDrawBackgroundColor(playerid,UPSTATS[28][playerid], 255);
- PlayerTextDrawFont(playerid,UPSTATS[28][playerid], 1);
- PlayerTextDrawLetterSize(playerid,UPSTATS[28][playerid], 0.759999, -0.100033);
- PlayerTextDrawColor(playerid,UPSTATS[28][playerid], -16776961);
- PlayerTextDrawSetOutline(playerid,UPSTATS[28][playerid], 0);
- PlayerTextDrawSetProportional(playerid,UPSTATS[28][playerid], 1);
- PlayerTextDrawSetShadow(playerid,UPSTATS[28][playerid], 1);
- PlayerTextDrawUseBox(playerid,UPSTATS[28][playerid], 1);
- PlayerTextDrawBoxColor(playerid,UPSTATS[28][playerid], 0xFFFFFFAA);
- PlayerTextDrawTextSize(playerid,UPSTATS[28][playerid], 317.000000, -1.000000);
- UPSTATS[29][playerid] = CreatePlayerTextDraw(playerid,331.000000, 261.000000, "Droga: 5000g");
- PlayerTextDrawBackgroundColor(playerid,UPSTATS[29][playerid], 255);
- PlayerTextDrawFont(playerid,UPSTATS[29][playerid], 2);
- PlayerTextDrawLetterSize(playerid,UPSTATS[29][playerid], 0.260000, 1.300000);
- PlayerTextDrawColor(playerid,UPSTATS[29][playerid], -1);
- PlayerTextDrawSetOutline(playerid,UPSTATS[29][playerid], 0);
- PlayerTextDrawSetProportional(playerid,UPSTATS[29][playerid], 1);
- PlayerTextDrawSetShadow(playerid,UPSTATS[29][playerid], 1);
- UPSTATS[30][playerid] = CreatePlayerTextDraw(playerid,331.000000, 275.000000, "Mats: 150000");
- PlayerTextDrawBackgroundColor(playerid,UPSTATS[30][playerid], 255);
- PlayerTextDrawFont(playerid,UPSTATS[30][playerid], 2);
- PlayerTextDrawLetterSize(playerid,UPSTATS[30][playerid], 0.260000, 1.300000);
- PlayerTextDrawColor(playerid,UPSTATS[30][playerid], -1);
- PlayerTextDrawSetOutline(playerid,UPSTATS[30][playerid], 0);
- PlayerTextDrawSetProportional(playerid,UPSTATS[30][playerid], 1);
- PlayerTextDrawSetShadow(playerid,UPSTATS[30][playerid], 1);
- UPSTATS[31][playerid] = CreatePlayerTextDraw(playerid,331.000000, 289.000000, "Godine: 50");
- PlayerTextDrawBackgroundColor(playerid,UPSTATS[31][playerid], 255);
- PlayerTextDrawFont(playerid,UPSTATS[31][playerid], 2);
- PlayerTextDrawLetterSize(playerid,UPSTATS[31][playerid], 0.260000, 1.300000);
- PlayerTextDrawColor(playerid,UPSTATS[31][playerid], -1);
- PlayerTextDrawSetOutline(playerid,UPSTATS[31][playerid], 0);
- PlayerTextDrawSetProportional(playerid,UPSTATS[31][playerid], 1);
- PlayerTextDrawSetShadow(playerid,UPSTATS[31][playerid], 1);
- UPSTATS[32][playerid] = CreatePlayerTextDraw(playerid,331.000000, 303.000000, "Pol: Musko");
- PlayerTextDrawBackgroundColor(playerid,UPSTATS[32][playerid], 255);
- PlayerTextDrawFont(playerid,UPSTATS[32][playerid], 2);
- PlayerTextDrawLetterSize(playerid,UPSTATS[32][playerid], 0.260000, 1.300000);
- PlayerTextDrawColor(playerid,UPSTATS[32][playerid], -1);
- PlayerTextDrawSetOutline(playerid,UPSTATS[32][playerid], 0);
- PlayerTextDrawSetProportional(playerid,UPSTATS[32][playerid], 1);
- PlayerTextDrawSetShadow(playerid,UPSTATS[32][playerid], 1);
- UPSTATS[33][playerid] = CreatePlayerTextDraw(playerid,433.000000, 261.000000, "Wanted: 5");
- PlayerTextDrawBackgroundColor(playerid,UPSTATS[33][playerid], 255);
- PlayerTextDrawFont(playerid,UPSTATS[33][playerid], 2);
- PlayerTextDrawLetterSize(playerid,UPSTATS[33][playerid], 0.260000, 1.300000);
- PlayerTextDrawColor(playerid,UPSTATS[33][playerid], -1);
- PlayerTextDrawSetOutline(playerid,UPSTATS[33][playerid], 0);
- PlayerTextDrawSetProportional(playerid,UPSTATS[33][playerid], 1);
- PlayerTextDrawSetShadow(playerid,UPSTATS[33][playerid], 1);
- UPSTATS[34][playerid] = CreatePlayerTextDraw(playerid,433.000000, 275.000000, "Kredit: Da");
- PlayerTextDrawBackgroundColor(playerid,UPSTATS[34][playerid], 255);
- PlayerTextDrawFont(playerid,UPSTATS[34][playerid], 2);
- PlayerTextDrawLetterSize(playerid,UPSTATS[34][playerid], 0.260000, 1.300000);
- PlayerTextDrawColor(playerid,UPSTATS[34][playerid], -1);
- PlayerTextDrawSetOutline(playerid,UPSTATS[34][playerid], 0);
- PlayerTextDrawSetProportional(playerid,UPSTATS[34][playerid], 1);
- PlayerTextDrawSetShadow(playerid,UPSTATS[34][playerid], 1);
- UPSTATS[35][playerid] = CreatePlayerTextDraw(playerid,433.000000, 289.000000, "Mob kredit: 50");
- PlayerTextDrawBackgroundColor(playerid,UPSTATS[35][playerid], 255);
- PlayerTextDrawFont(playerid,UPSTATS[35][playerid], 2);
- PlayerTextDrawLetterSize(playerid,UPSTATS[35][playerid], 0.260000, 1.300000);
- PlayerTextDrawColor(playerid,UPSTATS[35][playerid], -1);
- PlayerTextDrawSetOutline(playerid,UPSTATS[35][playerid], 0);
- PlayerTextDrawSetProportional(playerid,UPSTATS[35][playerid], 1);
- PlayerTextDrawSetShadow(playerid,UPSTATS[35][playerid], 1);
- UPSTATS[36][playerid] = CreatePlayerTextDraw(playerid,433.000000, 305.000000, "Uhapsen puta: 50");
- PlayerTextDrawBackgroundColor(playerid,UPSTATS[36][playerid], 255);
- PlayerTextDrawFont(playerid,UPSTATS[36][playerid], 2);
- PlayerTextDrawLetterSize(playerid,UPSTATS[36][playerid], 0.230000, 1.300000);
- PlayerTextDrawColor(playerid,UPSTATS[36][playerid], -1);
- PlayerTextDrawSetOutline(playerid,UPSTATS[36][playerid], 0);
- PlayerTextDrawSetProportional(playerid,UPSTATS[36][playerid], 1);
- PlayerTextDrawSetShadow(playerid,UPSTATS[36][playerid], 1);
- UPSTATS[37][playerid] = CreatePlayerTextDraw(playerid,143.000000, 114.000000, "LICNA KARTA"); // stats dodatak by Momenzi
- PlayerTextDrawBackgroundColor(playerid,UPSTATS[37][playerid], 255);
- PlayerTextDrawFont(playerid,UPSTATS[37][playerid], 1);
- PlayerTextDrawColor(playerid,UPSTATS[37][playerid], -1);
- PlayerTextDrawSetOutline(playerid,UPSTATS[37][playerid], 0);
- PlayerTextDrawSetProportional(playerid,UPSTATS[37][playerid], 1);
- PlayerTextDrawSetShadow(playerid,UPSTATS[37][playerid], 1);
- PlayerTextDrawUseBox(playerid,UPSTATS[37][playerid], 1);
- PlayerTextDrawBoxColor(playerid,UPSTATS[37][playerid], 0x2641FEAA);
- PlayerTextDrawTextSize(playerid,UPSTATS[37][playerid], 516.000000, -177.000000);
- new string[256], iskustvo; iskustvo = (PlayerInfo[playerid][pLevel] * 2) + 2;
- new auto1[3], motor[3], bicikla[3], letelica[3], plovilo[3], kuca[3], stan[3], vikendica[3], firma[3], mobilni[3], pol[7], kredit[3];
- if(PlayerInfo[playerid][pPreostaloZaOtplatu] == 0) kredit = "Ne";
- else if(PlayerInfo[playerid][pPreostaloZaOtplatu] > 0) kredit = "Da";
- if(PlayerInfo[playerid][pSex] == 1) pol = "Musko";
- else if(PlayerInfo[playerid][pSex] == 2) pol = "Zensko";
- if(PlayerInfo[playerid][pMobilni] == 0) mobilni = "Ne";
- else if(PlayerInfo[playerid][pMobilni] != 0) mobilni = "Da";
- if(PlayerInfo[playerid][pPosedovanjeAuta] == -1) auto1 = "Ne";
- else if(PlayerInfo[playerid][pPosedovanjeAuta] != -1) auto1 = "Da";
- if(PlayerInfo[playerid][pPosedovanjeMotora] == -1) motor = "Ne";
- else if(PlayerInfo[playerid][pPosedovanjeMotora] != -1) motor = "Da";
- if(PlayerInfo[playerid][pPosedovanjeBicikla] == -1) bicikla = "Ne";
- else if(PlayerInfo[playerid][pPosedovanjeBicikla] != -1) bicikla = "Da";
- if(PlayerInfo[playerid][pPosedovanjeAviona] == -1) letelica = "Ne";
- else if(PlayerInfo[playerid][pPosedovanjeAviona] != -1) letelica = "Da";
- if(PlayerInfo[playerid][pPosedovanjePlovila] == -1) plovilo = "Ne";
- else if(PlayerInfo[playerid][pPosedovanjePlovila] != -1) plovilo = "Da";
- if(PlayerInfo[playerid][pPosedovanjeKuce] == -1) kuca = "Ne";
- else if(PlayerInfo[playerid][pPosedovanjeKuce] != -1) kuca = "Da";
- if(PlayerInfo[playerid][pPosedovanjeStana] == -1) stan = "Ne";
- else if(PlayerInfo[playerid][pPosedovanjeStana] != -1) stan = "Da";
- if(PlayerInfo[playerid][pPosedovanjeVikendice] == -1) vikendica = "Ne";
- else if(PlayerInfo[playerid][pPosedovanjeVikendice] != -1) vikendica = "Da";
- if(PlayerInfo[playerid][pPosedovanjeFirme] == -1) firma = "Ne";
- else if(PlayerInfo[playerid][pPosedovanjeFirme] != -1) firma = "Da";
- for(new i = 0; i < 38; i++) PlayerTextDrawShow(playerid, UPSTATS[i][playerid]);
- KreiranStats[playerid] = 1; GreskaMessage(playerid, "Da zatvorite stats kucajte ponovo '/stats'!");
- format(string, sizeof(string),"%s",GetName(playerid));
- PlayerTextDrawSetString(playerid,UPSTATS[3][playerid], string);
- format(string, sizeof(string),"~b~Posao ugovor: ~w~%d",PlayerInfo[playerid][pPosaoUgovor]);
- PlayerTextDrawSetString(playerid,UPSTATS[4][playerid], string);
- format(string, sizeof(string),"~b~Novac: ~g~%d$",PlayerInfo[playerid][pNovacDzep]);
- PlayerTextDrawSetString(playerid,UPSTATS[5][playerid], string);
- format(string, sizeof(string),"~b~Auto: ~w~%s",auto1);
- PlayerTextDrawSetString(playerid,UPSTATS[6][playerid], string);
- format(string, sizeof(string),"~b~Motor: ~w~%s",motor);
- PlayerTextDrawSetString(playerid,UPSTATS[7][playerid], string);
- format(string, sizeof(string),"~b~Respekti: ~w~%d/%d",PlayerInfo[playerid][pExp], iskustvo);
- PlayerTextDrawSetString(playerid,UPSTATS[12][playerid], string);
- format(string, sizeof(string),"~b~Level: ~w~%d",PlayerInfo[playerid][pLevel]);
- PlayerTextDrawSetString(playerid,UPSTATS[13][playerid], string);
- format(string, sizeof(string),"%s",PosaoIme(PlayerInfo[playerid][pPosao]));
- PlayerTextDrawSetString(playerid,UPSTATS[10][playerid], string);
- format(string, sizeof(string),"%s",ImeOrganizacije(PlayerInfo[playerid][pClan]));
- PlayerTextDrawSetString(playerid,UPSTATS[14][playerid], string);
- format(string, sizeof(string),"~b~Plovilo: ~w~%s",plovilo);
- PlayerTextDrawSetString(playerid,UPSTATS[15][playerid], string);
- format(string, sizeof(string),"~b~Rank org: ~w~%d",PlayerInfo[playerid][pRank]);
- PlayerTextDrawSetString(playerid,UPSTATS[16][playerid], string);
- format(string, sizeof(string),"~b~Sati igre: ~w~%d",PlayerInfo[playerid][pSatiIgre]);
- PlayerTextDrawSetString(playerid,UPSTATS[17][playerid], string);
- format(string, sizeof(string),"~b~Org kazna: ~w~%d",PlayerInfo[playerid][pOrgUgovor]);
- PlayerTextDrawSetString(playerid,UPSTATS[18][playerid], string);
- format(string, sizeof(string),"~b~Warn: ~w~%d/5",PlayerInfo[playerid][pWarn]);
- PlayerTextDrawSetString(playerid,UPSTATS[19][playerid], string);
- format(string, sizeof(string),"~b~Banka: ~g~%d$",PlayerInfo[playerid][pNovacBanka]);
- PlayerTextDrawSetString(playerid,UPSTATS[20][playerid], string);
- format(string, sizeof(string),"~b~Kuca: ~w~%s",kuca);
- PlayerTextDrawSetString(playerid,UPSTATS[21][playerid], string);
- format(string, sizeof(string),"~b~Biciklo: ~w~%s",bicikla);
- PlayerTextDrawSetString(playerid,UPSTATS[22][playerid], string);
- format(string, sizeof(string),"~b~Vikendica: ~w~%s",vikendica);
- PlayerTextDrawSetString(playerid,UPSTATS[23][playerid], string);
- format(string, sizeof(string),"~b~Letjelica: ~w~%s",letelica);
- PlayerTextDrawSetString(playerid,UPSTATS[24][playerid], string);
- format(string, sizeof(string),"~b~Firma: ~w~%s",firma);
- PlayerTextDrawSetString(playerid,UPSTATS[25][playerid], string);
- format(string, sizeof(string),"~b~Stan: ~w~%s",stan);
- PlayerTextDrawSetString(playerid,UPSTATS[26][playerid], string);
- format(string, sizeof(string),"~b~Mobilni: ~w~%s",mobilni);
- PlayerTextDrawSetString(playerid,UPSTATS[27][playerid], string);
- format(string, sizeof(string),"~b~Droga: ~w~%dg",PlayerInfo[playerid][pDroga]);
- PlayerTextDrawSetString(playerid,UPSTATS[29][playerid], string);
- format(string, sizeof(string),"~b~Mats: ~w~%d",PlayerInfo[playerid][pMats]);
- PlayerTextDrawSetString(playerid,UPSTATS[30][playerid], string);
- format(string, sizeof(string),"~b~Godine: ~w~%d",PlayerInfo[playerid][pGodine]);
- PlayerTextDrawSetString(playerid,UPSTATS[31][playerid], string);
- format(string, sizeof(string),"~b~Pol: ~w~%s",pol);
- PlayerTextDrawSetString(playerid,UPSTATS[32][playerid], string);
- format(string, sizeof(string),"~b~Wanted: ~w~%d",GetPlayerWantedLevel(playerid));
- PlayerTextDrawSetString(playerid,UPSTATS[33][playerid], string);
- format(string, sizeof(string),"~b~Kredit: ~w~%s",kredit);
- PlayerTextDrawSetString(playerid,UPSTATS[34][playerid], string);
- format(string, sizeof(string),"~b~Mob kredit: ~w~%d",PlayerInfo[playerid][pMobKredit]);
- PlayerTextDrawSetString(playerid,UPSTATS[35][playerid], string);
- format(string, sizeof(string),"~b~Uhapsen Puta: ~w~%d",PlayerInfo[playerid][pUhapsenPuta]);
- PlayerTextDrawSetString(playerid,UPSTATS[36][playerid], string);
- }
- else if(KreiranStats[playerid] == 1)
- {
- for(new i = 0; i < 38; i++)
- {
- PlayerTextDrawShow(playerid, UPSTATS[i][playerid]);
- PlayerTextDrawDestroy(playerid, UPSTATS[i][playerid]);
- KreiranStats[playerid] = 0;
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment