Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(strcmp(cmdtext, "/removerbarreira 1", true)==0 || strcmp(cmdtext, "/rbrmid 1", true)==0)
- {
- new org = GetPlayerOrg(playerid);
- if(org == 21)
- {
- if (pRoadmid[playerid] != 0)
- {
- RemoveRoadmid(playerid);
- SendClientMessage(playerid, COLOR_GREY, "Você retirou a sua barreira!");
- Delete3DTextLabel(string2:0);
- }
- else { return SendClientMessage(playerid, COLOR_GREY, "Você não criou uma barreira!"); }
- format(string, sizeof(string), "Aviso: Uma Barreira de mid foi destruída por %s.", PlayerName(playerid));
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if(IsPlayerConnected(i))
- {
- if(org == 21)
- {
- SendClientMessage(i, TEAM_BLUE_COLOR, string);
- }
- }
- }
- }
- return 1;
- }
Add Comment
Please, Sign In to add comment