Copfix help
#2

Use this and tell me if it works.

pawn Код:
CMD:locker(playerid, params[])
{
    new string[256];
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    if(IsACop(playerid))
    {
        if(IsPlayerInRangeOfPoint(playerid, 3,256.2174,77.3295,1004.0344))
          {
              if(CopFix[playerid] == 0)
                 {
                     SSSShowDialog(playerid, 5);
                 }
            }
          else
           {
             SendClientMessage(playerid, COLOR_GREY, "You aren't near your locker.");
            }
       return 1;
}
Reply


Messages In This Thread
Copfix help - by Alex_T - 07.01.2015, 22:15
Re: Copfix help - by Sid_Alexander - 07.01.2015, 22:19
Re: Copfix help - by Alex_T - 07.01.2015, 22:26
Re: Copfix help - by Sid_Alexander - 07.01.2015, 22:33
Re: Copfix help - by Alex_T - 07.01.2015, 23:27
Re: Copfix help - by Alex_T - 07.01.2015, 23:34

Forum Jump:


Users browsing this thread: 1 Guest(s)