Help please
#1

and how do I like this to be restrictive when you are on the bike?
pawn Код:
if (strcmp(cmd, "/neon", true) == 0)
    {
        if(IsPlayerConnected(playerid))
        {
            if (gPlayerLogged[playerid] != 0)
            {
            if(!PlayerToPoint(4.0, playerid, 1867.9633,-1859.4781,13.5802))
            {
            SendClientMessage(playerid, COLOR_GREY, " Ne pare rau, dar nu esti in Neon Shop.");
            return 1;
            }
            ShowPlayerDialog(playerid, 8899, DIALOG_STYLE_LIST, "Pick Neon Color", "Blue\nRed\nGreen\nWhite\nPink\nYellow\nPolice Strobe\nInterior Lights\nBack Neon\nFront neon\nUndercover Roof Light\nRemove All Neon", "Select", "Cancel");
            PlayerPlaySound(playerid, 1133, 0.0, 0.0, 10.0);
            return 1;
            }
            else
            {
                SendClientMessage(playerid, COLOR_GRAD1, "   You are not Logged in !");
            }
        }
        return 1;
    }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)