[HELP] Small Problem
#1

Hello..

I have a command, /service

But when someone types /service bus .. it does not sendclientmessage to the bus drivers..

pawn Код:
else if(strcmp(choice,"bus",true) == 0)
    {
        if(BusDrivers < 1)
        {
            SendClientMessageEx(playerid, COLOR_GREY, "   There are no bus drivers at the moment, try again later!");
            return 1;
        }
        if(TransportDuty[playerid] > 0)
        {
            SendClientMessageEx(playerid, COLOR_GREY, "   You can't call for a bus now!");
            return 1;
        }
        format(string, sizeof(string), "** %s is in need of a bus driver - use /accept bus to accept the call.", GetPlayerNameEx(playerid));
        SendJobMessage(14, TEAM_AZTECAS_COLOR, string);
        SendClientMessageEx(playerid, COLOR_LIGHTBLUE, "* You have called for a bus driver, wait for a reply.");
        BusCall = playerid;
        PlayerInfo[playerid][pServiceTime] = 30;
        return 1;
    }
Thats the code for the /service bus..

This does not manage to reach the bus drivers
pawn Код:
format(string, sizeof(string), "** %s is in need of a bus driver - use /accept bus to accept the call.", GetPlayerNameEx(playerid));

Need anymore information, just leme know
Reply


Messages In This Thread
[HELP] Small Problem - by Oscii - 12.05.2012, 23:11
Re: [HELP] Small Problem +1rep - by FalconX - 12.05.2012, 23:17
Re: [HELP] Small Problem +1rep - by Oscii - 12.05.2012, 23:24
Re: [HELP] Small Problem - by Face9000 - 13.05.2012, 00:04
Re: [HELP] Small Problem - by Oscii - 13.05.2012, 00:40
Re: [HELP] Small Problem - by Face9000 - 13.05.2012, 00:41

Forum Jump:


Users browsing this thread: 2 Guest(s)