Dynamic Faction MEGAPHONE help
#1

Hey guys so i got the United Gaming Roleplay Script but when i create a faction with like the name Fire Department it says in /help E.M.S how do i do so it says the faction name that i created! but what ever so the megaphone for the EMS and Fire Department does not work!!
check this out!!

Quote:

SendClientMessage(playerid, COLOR_WHITE, "USAGE: (/m)egaphone [megaphone chat]");
return 1;
}
if(IsACop(playerid) || PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4|| IsASoldier(playerid))
{
if(!IsACopCar(tmpcar) && !IsASABICar(tmpcar) && !IsAnAmbulance(tmpcar) && !IsANGCar(tmpcar))
{
SendClientMessage(playerid, COLOR_GRAD2, " You are not in a Government vehicle !");
return 1;
}
else if(IsACop(playerid))
{
format(string, sizeof(string), "[Officer %s< %s]", sendername, result);
ProxDetector(60.0, playerid, string,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLO R_YELLOW,COLOR_YELLOW);
}
else if(type == 2)
{
format(string, sizeof(string), "[Agent %s< %s]", sendername, result);
ProxDetector(60.0, playerid, string,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLO R_YELLOW,COLOR_YELLOW);
}
else if(IsAMedic(playerid))
{
format(string, sizeof(string), "[Doctor %s< %s]", sendername, result);
ProxDetector(60.0, playerid, string,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLO R_YELLOW,COLOR_YELLOW);
}
else if(IsASoldier(playerid))
{
format(string, sizeof(string), "[Soldier %s< %s]", sendername, result);
ProxDetector(60.0, playerid, string,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLO R_YELLOW,COLOR_YELLOW);
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD2, " You are not part of a Faction !");
return 1;
}

can't find the error
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)