Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(!strcmp(cmdtext, "/equiparupp", true))
- {
- if(!IsPlayerInRangeOfPoint(playerid, 7.0, 00.000, 00.00, 00.00)) return SendClientMessage(playerid, -1, "ERRO: Você não está no lugar certo.");
- new npessoas = 0;
- for(new p = 0; p < MAX_PLAYERS; p++)
- {
- if(IsPlayerInRangeOfPoint(p, 7.0, 00.000, 00.00, 00.00))
- {
- npessoas ++;
- }
- }
- if(IsACop[playerid])// aqui voce coloca a variavel da org cop
- {
- GivePlayerWeapon(playerid, 24, 500);//vai adicionando giveplayerweapon ai pra baixo nas armas de sua preferência
- }
- else
- {
- SendClientMessage(playerid, 0xFFFFFFAA, "Você não é um PM !");// se ele não for um policial ira receber essa mensagem
- }
- }
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement