Servers is Crashing [Crash detect included]
#3

Quote:
Originally Posted by Jacob756
Посмотреть сообщение
show us/me your GM line 65545

to do this click edit on the top left corner > goto ? line number
This
pawn Код:
else if(strcmp(choice,"pot",true) == 0)
        {
            if(IsPlayerConnected(giveplayerid))
            {
                if (ProxDetectorS(8.0, playerid, giveplayerid))
                {
                    format(string, sizeof(string), "* You have taken away %s's pot.", GetPlayerNameEx(giveplayerid));
                    SendClientMessageEx(playerid, COLOR_LIGHTBLUE, string);
                    format(string, sizeof(string), "* Officer %s has taken away your pot.", GetPlayerNameEx(playerid), GetPlayerNameEx(giveplayerid));
                    SendClientMessageEx(giveplayerid, COLOR_LIGHTBLUE, string);
                    format(string, sizeof(string), "* Officer %s has taken away %s's pot.", GetPlayerNameEx(playerid), GetPlayerNameEx(giveplayerid));
                    ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                    PlayerInfo[giveplayerid][pPot] = 0;
                }
                else
                {
                    SendClientMessageEx(playerid, COLOR_GREY, "That player isn't near you.");
                    return 1;
                }
            }
            else
            {
                SendClientMessageEx(playerid, COLOR_GREY, "Invalid player specified.");
                return 1;
            }
        }
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)