Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stock GetWantedPoints(playerid) return NivelProc[playerid];
- stock SetWantedPoints(playerid, points)
- {
- NivelProc[playerid] = points;
- switch(points)
- {
- case 1..6: SetPlayerWantedLevel(playerid, points);
- }
- for(new i; i < NivelProc[playerid]-6; i++)
- {
- PlayerTextDrawShow(playerid, TextProc[i]);
- }
- return true;
- }
- stock CreateWantedTextDraw(playerid)
- {
- TextProc[0] = CreatePlayerTextDraw(playerid, 486.000000, 124.000000, "[]");
- PlayerTextDrawBackgroundColor(playerid, TextProc[0], 255);
- PlayerTextDrawFont(playerid, TextProc[0], 0);
- PlayerTextDrawLetterSize(playerid, TextProc[0], 0.509999, 2.100000);
- PlayerTextDrawColor(playerid, TextProc[0], 65535);
- PlayerTextDrawSetOutline(playerid, TextProc[0], 1);
- PlayerTextDrawSetProportional(playerid, TextProc[0], 1);
- TextProc[1] = CreatePlayerTextDraw(playerid, 505.000000, 124.000000, "[]");
- PlayerTextDrawBackgroundColor(playerid, TextProc[1], 255);
- PlayerTextDrawFont(playerid, TextProc[1], 0);
- PlayerTextDrawLetterSize(playerid, TextProc[1], 0.509999, 2.100000);
- PlayerTextDrawColor(playerid, TextProc[1], 65535);
- PlayerTextDrawSetOutline(playerid, TextProc[1], 1);
- PlayerTextDrawSetProportional(playerid, TextProc[1], 1);
- TextProc[2] = CreatePlayerTextDraw(playerid, 523.000000, 124.000000, "[]");
- PlayerTextDrawBackgroundColor(playerid, TextProc[2], 255);
- PlayerTextDrawFont(playerid, TextProc[2], 0);
- PlayerTextDrawLetterSize(playerid, TextProc[2], 0.509999, 2.100000);
- PlayerTextDrawColor(playerid, TextProc[2], 65535);
- PlayerTextDrawSetOutline(playerid, TextProc[2], 1);
- PlayerTextDrawSetProportional(playerid, TextProc[2], 1);
- TextProc[3] = CreatePlayerTextDraw(playerid, 541.000000, 124.000000, "[]");
- PlayerTextDrawBackgroundColor(playerid, TextProc[3], 255);
- PlayerTextDrawFont(playerid, TextProc[3], 0);
- PlayerTextDrawLetterSize(playerid, TextProc[3], 0.509999, 2.100000);
- PlayerTextDrawColor(playerid, TextProc[3], 65535);
- PlayerTextDrawSetOutline(playerid, TextProc[3], 1);
- PlayerTextDrawSetProportional(playerid, TextProc[3], 1);
- TextProc[4] = CreatePlayerTextDraw(playerid, 559.000000, 124.000000, "[]");
- PlayerTextDrawBackgroundColor(playerid, TextProc[4], 255);
- PlayerTextDrawFont(playerid, TextProc[4], 0);
- PlayerTextDrawLetterSize(playerid, TextProc[4], 0.509999, 2.100000);
- PlayerTextDrawColor(playerid, TextProc[4], 65535);
- PlayerTextDrawSetOutline(playerid, TextProc[4], 1);
- PlayerTextDrawSetProportional(playerid, TextProc[4], 1);
- TextProc[5] = CreatePlayerTextDraw(playerid, 577.000000, 124.000000, "[]");
- PlayerTextDrawBackgroundColor(playerid, TextProc[5], 255);
- PlayerTextDrawFont(playerid, TextProc[5], 0);
- PlayerTextDrawLetterSize(playerid, TextProc[5], 0.509999, 2.100000);
- PlayerTextDrawColor(playerid, TextProc[5], 65535);
- PlayerTextDrawSetOutline(playerid, TextProc[5], 1);
- PlayerTextDrawSetProportional(playerid, TextProc[5], 1);
- TextProc[6] = CreatePlayerTextDraw(playerid, 486.000000, 144.000000, "[]");
- PlayerTextDrawBackgroundColor(playerid, TextProc[6], 255);
- PlayerTextDrawFont(playerid, TextProc[6], 0);
- PlayerTextDrawLetterSize(playerid, TextProc[6], 0.509999, 2.100000);
- PlayerTextDrawColor(playerid, TextProc[6], -16776961);
- PlayerTextDrawSetOutline(playerid, TextProc[6], 1);
- PlayerTextDrawSetProportional(playerid, TextProc[6], 1);
- TextProc[7] = CreatePlayerTextDraw(playerid, 505.000000, 144.000000, "[]");
- PlayerTextDrawBackgroundColor(playerid, TextProc[7], 255);
- PlayerTextDrawFont(playerid, TextProc[7], 0);
- PlayerTextDrawLetterSize(playerid, TextProc[7], 0.509999, 2.100000);
- PlayerTextDrawColor(playerid, TextProc[7], -16776961);
- PlayerTextDrawSetOutline(playerid, TextProc[7], 1);
- PlayerTextDrawSetProportional(playerid, TextProc[7], 1);
- TextProc[8] = CreatePlayerTextDraw(playerid, 523.000000, 144.000000, "[]");
- PlayerTextDrawBackgroundColor(playerid, TextProc[8], 255);
- PlayerTextDrawFont(playerid, TextProc[8], 0);
- PlayerTextDrawLetterSize(playerid, TextProc[8], 0.509999, 2.100000);
- PlayerTextDrawColor(playerid, TextProc[8], -16776961);
- PlayerTextDrawSetOutline(playerid, TextProc[8], 1);
- PlayerTextDrawSetProportional(playerid, TextProc[8], 1);
- TextProc[9] = CreatePlayerTextDraw(playerid, 541.000000, 144.000000, "[]");
- PlayerTextDrawBackgroundColor(playerid, TextProc[9], 255);
- PlayerTextDrawFont(playerid, TextProc[9], 0);
- PlayerTextDrawLetterSize(playerid, TextProc[9], 0.509999, 2.100000);
- PlayerTextDrawColor(playerid, TextProc[9], -16776961);
- PlayerTextDrawSetOutline(playerid, TextProc[9], 1);
- PlayerTextDrawSetProportional(playerid, TextProc[9], 1);
- TextProc[10] = CreatePlayerTextDraw(playerid, 559.000000, 144.000000, "[]");
- PlayerTextDrawBackgroundColor(playerid, TextProc[10], 255);
- PlayerTextDrawFont(playerid, TextProc[10], 0);
- PlayerTextDrawLetterSize(playerid, TextProc[10], 0.509999, 2.100000);
- PlayerTextDrawColor(playerid, TextProc[10], -16776961);
- PlayerTextDrawSetOutline(playerid, TextProc[10], 1);
- PlayerTextDrawSetProportional(playerid, TextProc[10], 1);
- TextProc[11] = CreatePlayerTextDraw(playerid, 577.000000, 144.000000, "[]");
- PlayerTextDrawBackgroundColor(playerid, TextProc[11], 255);
- PlayerTextDrawFont(playerid, TextProc[11], 0);
- PlayerTextDrawLetterSize(playerid, TextProc[11], 0.509999, 2.100000);
- PlayerTextDrawColor(playerid, TextProc[11], -16776961);
- PlayerTextDrawSetOutline(playerid, TextProc[11], 1);
- PlayerTextDrawSetProportional(playerid, TextProc[11], 1);
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement