Unnamed
public text v1 · immutable if(strcmp(cmd,"/civil",true)==0){
new plid;
new prof;
if(GetPlayerScore(plid) >= 1){
SendClientMessage(plid, COLOR_YELLOW, "Você Agora é Policial Civil");
SendClientMessage(plid, COLOR_YELLOW, "/profcmd para saber seus comandos");
udb_setProf(PlayerName(plid), prof);
Profissao[plid] = prof;
LogarPlayer(plid);
return 1;
}
} else {
SendClientMessage(playerid, COLOR_YELLOW, "Você precisa ter 1 de score");
return 1;
}