Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- BSL::ProcurandoHit(playerid)
- {
- new string[MAX_STRING];
- new searchhit = 0;
- foreach(new i: Player)
- {
- if(IsPlayerConnected(i))
- {
- if(searchhit == 0)
- {
- if(PlayerInfo[i][pHeadValue] > 0 && GotHit[i] == 0 && PlayerInfo[i][pMembro] != 8)
- {
- searchhit = 1;
- hitfound = 1;
- hitmanid = i;
- {
- if(PlayerInfo[playerid][pMembro] == 8 || PlayerInfo[playerid][pLider] == 8)
- {
- format(gstring,sizeof(string), "[%s]\t %s[%d]\t R${ff00FF}[%d]\n", GetPlayerOrg(i), PlayerName(i), i, PlayerInfo[i][pHeadValue]);
- ShowPlayerDialog(playerid, 25876, DIALOG_STYLE_TABLIST_HEADERS, "Lista de Contratos", gs_Buffer, "Pegar","Voltar");
- strcat(gs_Buffer,string);
- }
- }
- }
- }
- }
- }
- if(searchhit == 0)
- {
- }
- return 0;
- }
- BSL::ProcurandoAss(playerid)
- {
- new string[MAX_STRING];
- new searchass = 0;
- foreach(new i: Player)
- {
- if(IsPlayerConnected(i))
- {
- if(searchass == 0)
- {
- if(PlayerInfo[i][pHeadValue] > 0 && GotAss[i] == 0 && PlayerInfo[i][pMembro] != 26)
- {
- searchass = 1;
- assfound = 1;
- assid = i;
- {
- if(PlayerInfo[playerid][pMembro] == 26 || PlayerInfo[playerid][pLider] == 26)
- {
- format(gstring,sizeof(string), "[%s]\t %s[%d]\t R${ff00FF}[%d]\n", GetPlayerOrg(i), PlayerName(i), i, PlayerInfo[i][pHeadValue]);
- ShowPlayerDialog(playerid, 25876, DIALOG_STYLE_TABLIST_HEADERS, "Lista de Contratos", gs_Buffer, "Pegar","Voltar");
- strcat(gs_Buffer,string);
- }
- }
- }
- }
- }
- }
- if(searchass == 0)
- {
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement