if(strcmp(cmd,"/kitadmin",true)==0){
new aname[MAX_PLAYER_NAME];
GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
format(file, sizeof(file), PASTA_CONTAS, aname);
if(pAdmin[playerid] == 1 || pAdmin[playerid] == 2 || pAdmin[playerid] == 3 || pAdmin[playerid] == 4 || pAdmin[playerid] == 5){
GivePlayerWeapon(playerid, 24, 999999);
GivePlayerWeapon(playerid, 26, 999999);
GivePlayerWeapon(playerid, 29, 999999);
GivePlayerWeapon(playerid, 31, 999999);
GivePlayerWeapon(playerid, 34, 999999);
GivePlayerWeapon(playerid, 39, 999999);
SetPlayerArmour(playerid, 100);
SetPlayerHealth(playerid, 100);
SendClientMessage(playerid,COLOR_GREEN,"Você pegou o seu KitAdmin!");
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
return 1;
}
}
Creditos:
[EDL]Mister
0 comentários:
Postar um comentário
- Sem Divulgar Links
- Sem Chingar ninguem
- Sem Falar de outro blog
- Obrigado -