- 0
paint burned
-
Similar Content
-
- 3 answers
- 3.847 views
-
- 13 replies
- 3.374 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
caltabos
dupa cum se vede in poza, sistemul nu da reset la arme si la kill-uri jucatorului care a castigat!
dar in sistem "se da":
Asta ar fi partea legata de reset:
if(PaintType[i] != 0 && PlayersOnPaint(PaintType[i]-1) >= 2) { new pp = PaintType[i]-1; if(pp < 2) { format(string, sizeof(string), "Paintball time: %s~n~Current map: %s~n~Stats: %d kills, %d deaths.~n~Total score: %d~n~Best player: %s (kills: %d)~n~%d players in paintball.", CalculeazaTimp2(PaintTime[pp]), MapName(pp), PKills[i], PDeaths[i], PKills[i]-PDeaths[i], GetName(PaintballWinner[pp]), PKills[PaintballWinner[pp]], PlayersOnPaint(pp)); } else { new masadenume[32]; GetWeaponNameEx(GetPlayerWeapon(i), masadenume, sizeof(masadenume)); format(string, sizeof(string), "Paintball time: %s~n~Current map: %s~n~Stats: %d kills, %d deaths.~n~Total score: %d~n~Level %d, Weapon: %s~n~Best player: %s (kills: %d)~n~%d players in paintball.", CalculeazaTimp2(PaintTime[pp]), MapName(pp), PKills[i], PDeaths[i], PKills[i]-PDeaths[i], GetPaintLevel(i), masadenume, GetName(PaintballWinner[pp]), PKills[PaintballWinner[pp]], PlayersOnPaint(pp)); } if(PaintTime[pp] == 0 && PaintballWinner[pp] != -1) { for(new m = 0; m < 5; m++) SendDeathMessageToPlayer(i, 1001, 1001, 200); format(string, sizeof(string), "Statistica ta in aceasta runda: %d ucideri si %d decese.", PKills[i], PDeaths[i]); SCM(i, COLOR_YELLOW, string); format(swinner, 256, "* %s a castigat runda cu %d ucideri.", GetName(PaintballWinner[pp]), PKills[PaintballWinner[pp]]); PKills[i] = 0, PDeaths[i] = 0; ResetWeapons(i); PaintballWinnerScore[pp] = 0; SendPaintMessage(PaintType[i], COLOR_YELLOW, swinner); PaintballWinner[pp] = -1; } if(PaintTime[pp] != 0 && PaintText[pp] == 0) { PlayerTextDrawSetString(i, PaintTD, string); PlayerTextDrawShow(i, PaintTD); } else { PlayerTextDrawHide(i, PaintTD); } } else PlayerTextDrawHide(i, PaintTD);7 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now