Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //|||||||||||||
- //|Yudi_StreeT|
- //|||||||||||||
- if(!strcmp(cmdtext,"/coletepolicial",true))
- {
- if(PlayerInfo[playerid][pJailed] != 0)
- {
- SendClientMessage(playerid,COLOR_YELLOW," Você não pode usar esté comando na cadeia!");
- return 1;
- }
- if(OnDuty[playerid] != 1)
- {
- SendClientMessage(playerid, COLOR_GREY, " Você não Bateu o cartão!");
- return 1;
- }
- if(IsACop(playerid))
- {
- if(Equipamentos[playerid] == 1)
- {
- RemovePlayerAttachedObject(playerid,1);
- Equipamentos[playerid] = 0;
- return 1;
- }
- if(Equipamentos[playerid] == 0)
- {
- SetPlayerAttachedObject(playerid,1,19142,1,0.1,0.05,0.0,0.0,0.0,0.0);
- SendClientMessage(playerid,COLOR_Yudi,"Você colocou seu Colete !");
- Equipamentos[playerid] = 1;
- return 1;
- }
- }
- else
- {
- SendClientMessage(playerid,COLOR_Yudi2,"Você não é um COP.");
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement