Advertisement
MCBAIDU

FS PRA UPP

Jun 11th, 2015
366
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. if(!strcmp(cmdtext, "/equiparupp", true))
  2. {
  3. if(!IsPlayerInRangeOfPoint(playerid, 7.0, 00.000, 00.00, 00.00)) return SendClientMessage(playerid, -1, "ERRO: Você não está no lugar certo.");
  4. new npessoas = 0;
  5. for(new p = 0; p < MAX_PLAYERS; p++)
  6. {
  7. if(IsPlayerInRangeOfPoint(p, 7.0, 00.000, 00.00, 00.00))
  8. {
  9. npessoas ++;
  10. }
  11. }
  12. if(IsACop[playerid])// aqui voce coloca a variavel da org cop
  13. {
  14. GivePlayerWeapon(playerid, 24, 500);//vai adicionando giveplayerweapon ai pra baixo nas armas de sua preferência
  15. }
  16. else
  17. {
  18. SendClientMessage(playerid, 0xFFFFFFAA, "Você não é um PM !");// se ele não for um policial ira receber essa mensagem
  19. }
  20. }
  21. return true;
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement