Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new
- new Text:CheatShow[2][10],CheaterID[2][10];
- new Cheata;
- forward UpdateCheaterID();
- SetTimer("UpdateCheaterID",5000,true);//ÑÞÄÀÀ
- ongamemodint
- Cheata = 0;
- new Float:DrawPos = 26.000000;
- for(new k;k<10;k++)
- {
- if(k > 0) DrawPos+=30;
- CheatShow[0][k] = TextDrawCreate(DrawPos,423.000000,"-1");
- CheatShow[1][k] = TextDrawCreate(DrawPos,434.000000,"-1");
- TextDrawColor(CheatShow[0][k], 0xef8100FF); TextDrawColor(CheatShow[1][k], 0xffffffFF);
- TextDrawFont(CheatShow[0][k], 1),TextDrawFont(CheatShow[1][k], 1);
- TextDrawSetOutline(CheatShow[0][k], 1),TextDrawSetOutline(CheatShow[1][k], 1);
- TextDrawLetterSize(CheatShow[0][k],0.3500,1.270),TextDrawLetterSize(CheatShow[1][k],0.3500,1.270);
- CheaterID[0][k] = -1,CheaterID[1][k] = -1;
- }
- stock AddCheater(playerid, strokaID)
- {
- new str[16];
- for(new k = 0;k<12;k++)
- if(k >= 12) k = 0;
- if(Cheata == 0)
- {
- CheaterID[strokaID][0] = playerid;
- format(str, sizeof(str), "%d", CheaterID[strokaID][0]);
- TextDrawSetString(CheatShow[strokaID][0],str);
- Cheata += 1;
- }
- else if(Cheata == 1)
- {
- CheaterID[strokaID][1] = playerid;
- format(str, sizeof(str), "%d", CheaterID[strokaID][1]);
- TextDrawSetString(CheatShow[strokaID][1],str);
- Cheata += 1;
- }
- else if(Cheata == 2)
- {
- CheaterID[strokaID][2] = playerid;
- format(str, sizeof(str), "%d", CheaterID[strokaID][2]);
- TextDrawSetString(CheatShow[strokaID][2],str);
- Cheata += 1;
- }
- else if(Cheata == 3)
- {
- CheaterID[strokaID][3] = playerid;
- format(str, sizeof(str), "%d", CheaterID[strokaID][3]);
- TextDrawSetString(CheatShow[strokaID][3],str);
- Cheata += 1;
- }
- else if(Cheata == 4)
- {
- CheaterID[strokaID][4] = playerid;
- format(str, sizeof(str), "%d", CheaterID[strokaID][4]);
- TextDrawSetString(CheatShow[strokaID][4],str);
- Cheata += 1;
- }
- else if(Cheata == 5)
- {
- CheaterID[strokaID][5] = playerid;
- format(str, sizeof(str), "%d", CheaterID[strokaID][5]);
- TextDrawSetString(CheatShow[strokaID][5],str);
- Cheata += 1;
- }
- else if(Cheata == 6)
- {
- CheaterID[strokaID][6] = playerid;
- format(str, sizeof(str), "%d", CheaterID[strokaID][6]);
- TextDrawSetString(CheatShow[strokaID][6],str);
- Cheata += 1;
- }
- else if(Cheata == 7)
- {
- CheaterID[strokaID][7] = playerid;
- format(str, sizeof(str), "%d", CheaterID[strokaID][7]);
- TextDrawSetString(CheatShow[strokaID][7],str);
- Cheata += 1;
- }
- else if(Cheata == 8)
- {
- CheaterID[strokaID][8] = playerid;
- format(str, sizeof(str), "%d", CheaterID[strokaID][8]);
- TextDrawSetString(CheatShow[strokaID][8],str);
- Cheata += 1;
- }
- else if(Cheata == 9)
- {
- CheaterID[strokaID][9] = playerid;
- format(str, sizeof(str), "%d", CheaterID[strokaID][9]);
- TextDrawSetString(CheatShow[strokaID][9],str);
- Cheata = 0;
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement