1.Am facut factiunea uber company si nu merge comanda /f? ma puteti ajuta?
code:YCMD:f(playerid, params[], help) {
new string[256];
if(PlayerInfo[playerid][pMember] == 0 && PlayerInfo[playerid][pLeader] == 0) {
if(SpecFaction[playerid] == 0) return 1;
}
if(PlayerInfo[playerid][pMuted] == 1) {
format(string, sizeof(string), "You can't talk right now! You are muted. (%d seconds)",PlayerInfo[playerid][pMuteTime]);
SCM(playerid, COLOR_GREY, string);
return 1;
}
new result[250];
if(FactionChat[PlayerInfo[playerid][pMember]] == 1 && PlayerInfo[playerid][pRank] < 6) return SCM(playerid, COLOR_GREY, "Chatul factiunii a fost oprit!");
if(sscanf(params, "s[250]",result)) return SCM(playerid, COLOR_GREY, "USAGE: {FFFFFF}/f <text>");
if(FaceReclama(result)) return RemoveFunction(playerid, result);
if(FaceReclama(result)) return Reclama(playerid, result);
if(SpecFaction[playerid] != 0) {
format(string, sizeof(string), "* Admin %s: %s", GetName(playerid), result);
SendFactionMessage(SpecFaction[playerid], 0x0080FFFF, string);
ChatLog(GetName(playerid), playerid, string);
return 1;
}
new member = PlayerInfo[playerid][pMember];
new leader = PlayerInfo[playerid][pLeader];
if(IsACop(playerid)) return SCM(playerid, COLOR_LGREEN, "Pentru a scrie pe chatul factiunii, foloseste comanda /r.");
if(member == 3 || leader == 3) return SCM(playerid, COLOR_LGREEN, "Pentru a scrie pe chatul factiunii, foloseste comanda /r.");
if(member == 15) return SCM(playerid, COLOR_LGREEN, "Pentru a scrie pe chatul factiunii, foloseste comanda /r.");
if(PlayerInfo[playerid][pRank] >= 6) {
format(string, sizeof(string), "(/f) %s %s: %s", GetRankName(playerid), GetName(playerid), result);
SendFactionMessage(PlayerInfo[playerid][pMember], 0x00AAFFFF, string);
}
else {
format(string, sizeof(string), "(/f) %s %s: %s", GetRankName(playerid), GetName(playerid), result);
SendFactionMessage(PlayerInfo[playerid][pMember], 0x00D5FFFF, string);
}
ChatLog(GetName(playerid), playerid, string);
return 1;
}
2.Cand intru in hq si dupa ies ma da la hq taxi... rezolvare?.
3.Am creat o masina infernus ptr factiunea uber si cand intru in ea imi spune ca nu sunt in uber, dar eu eram.. rezolvari? app la functia isantaxi am pus si la factiunea uber adk 15.