[HELP] Command
#1

I when writing /neon, server unknow command?

pawn Код:
if(strcmp(cmdtext, "/neon", true) == 0)
    {
        if(PlayerToPoint(25.0,playerid,207.5627,-103.7291,1005.2578))
        {
            if(IsPlayerInAnyVehicle(playerid))
            {
                if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER)
                {
                    SendClientMessage(playerid, COLOR_GREY, "* Tu nu esti sofer. Comanda anulata");
                    return 1;
                }
                ShowPlayerDialog(playerid, NEON, DIALOG_STYLE_LIST, "Culori Neoane","Albastru\nVerde\nGalben\nAlb\nRoz\nScoate neonul","Adauga","Inchide");
            }
            else
            {
                SendClientMessage(playerid, COLOR_GREY, "* Nu esti intr-o masina. Comanda anulata");
            }
            return 1;
        }
    }
Reply


Messages In This Thread
[HELP] Command - by monster010 - 06.06.2014, 21:19
Re: [HELP] Command - by MattTucker - 06.06.2014, 21:59
Re: [HELP] Command - by erminpr0 - 06.06.2014, 22:01
Re: [HELP] Command - by monster010 - 07.06.2014, 09:12

Forum Jump:


Users browsing this thread: 1 Guest(s)