16.11.2017, 20:59
Quote:
if(!strcmp(cmdtext,"/escudoon",true)) if(PlayerToPoint(4.0, playerid,1560.0999755859,-1635.5,12.60000038147)) { if(dini_Int(filene(PlayerName(playerid)),"portaarm ason") == 0) { if(PlayerInfo[playerid][pProfissao] == Policia_Federal || PlayerInfo[playerid][pProfissao] == Interpol || PlayerInfo[playerid][pProfissao] == Bope || PlayerInfo[playerid][pProfissao] == Swat || PlayerInfo[playerid][pProfissao] == Narcoticos || PlayerInfo[playerid][pProfissao] == FBI) { SetPlayerAttachedObject(playerid,7,18637,13,0.35,0 .0,0.0,0.0,0.0,180.0); SetPlayerAttachedObject(playerid,9,18642,7,0.1,0.0 ,-0.11,0.0,-90.0,90.0); SetPlayerArmour(playerid,100); SendClientMessage(playerid,Amarelo," | INFO | Escudo Ativado com sucesso!"); } else { SendClientMessage(playerid,Vermelho," | ERRO | Vocк nгo Pode usar um escudo!"); } }else { SendClientMessage(playerid,Amarelo," | ERRO | Vocк estб com porta armas ativado desligue /armaoff , nгo pode ser usado juntos!"); } return 1; } |