26.09.2015, 10:31
Every time I use this command it says "unknown command".
This command works and it opens dialog if im in range of point, but no matter where I am it says unknown command.
Код:
CMD:salon(playerid, params[]) { for(new i; i<BROJ_SALONA; i++) { if(IsPlayerInRangeOfPoint(playerid, 7, Saloni[i][0],Saloni[i][1],Saloni[i][2])) { if(i == 0) { ShowPlayerDialog(playerid, salondialog1, 5, "Sportski automobili", "Auto\tCijena\nAlpha\t$225 000\nBanshee\t$855 000\nBuffalo\t$300 000\nBullet\t$867 000\nCheetah\t$775 500\nClub\t$200 000\nEuros\t$375 000\nFlash\t$320 000\nInfernus\t$1 400 000\nJester\t$325 000\nPhoenix\t$225 000\nSabre\t$150 000\nSuper GT\t$790 000\nTurismo\t$1 800 000\nUranus\t$200 000\nZR-350\t$600 000\nHotring Racer\t$2 000 000", "Kupi", "Odustani"); } } } return 1; }