[Pomoc]Nzm kako da resim error na neon

Započeo [BS]Paolo, Novembar 22, 2012, 17:49:50 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.


Skripta:Mystic(test)
Problem evo ovako izbacuje mi ovaj error
Kod: [Odaberi]

C:\Users\user\Desktop\BS by ivan\gamemodes\MW.pwn(7811) : warning 202: number of arguments does not match definition
C:\Users\user\Desktop\BS by ivan\gamemodes\MW.pwn(30527) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\user\Desktop\BS by ivan\gamemodes\MW.pwn(30527) : error 017: undefined symbol "COL_GREY"
C:\Users\user\Desktop\BS by ivan\gamemodes\MW.pwn(30527) : warning 215: expression has no effect
C:\Users\user\Desktop\BS by ivan\gamemodes\MW.pwn(30527) : error 001: expected token: ";", but found ")"
C:\Users\user\Desktop\BS by ivan\gamemodes\MW.pwn(30527) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.

Dio skripte:Ako treba jos sta recite

//------------neon---------------------------------------------------
if (strcmp("/neon", cmdtext, true, 10) == 0)
   {
      if(IsPlayerInAnyVehicle(playerid))
      {
           if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER)
         {
            SendClientMessage(playerid, GRAY, ""COL_GREY"{FFFFFF}|{0099FF}ShadyAS{FFFFFF}| Niste vozac!");
            return 1;
         }
         if(PlayerToPoint(5.0,playerid,1034.4844,-1103.4556,23.8281))
         {
            ShowPlayerDialog(playerid, NEON, DIALOG_STYLE_LIST, "[Neonke]","Plava\nZelena\nZuta\nBijela\nRoza\nBrisanje Neonki","Postavi","Odustani");
         }
         else { SendClientMessage(playerid, GREY, ""COL_GREY"{FFFFFF}|{0099FF}ShadyAS{FFFFFF}| Niste kod Mehanicara!"); }
      }
      else
      {
          SendClientMessage(playerid, GREY, ""COL_GREY"{FFFFFF}|{0099FF}ShadyAS{FFFFFF}| Moras biti u vozilu!");
      }
      return 1;
   }




      SendClientMessage(playerid, GRAY, ""COL_GREY"{FFFFFF}|{0099FF}ShadyAS{FFFFFF}| Niste vozac!");


to je ta linija


"COL_GREY" pobrisi iz te linije i vidi sta ce se desiti?

C:\Users\user\Desktop\BS by ivan\gamemodes\MW.pwn(7811) : warning 202: number of arguments does not match definition
C:\Users\user\Desktop\BS by ivan\gamemodes\MW.pwn(30530) : error 017: undefined symbol "PlayerToPoint"
C:\Users\user\Desktop\BS by ivan\gamemodes\MW.pwn(30534) : error 017: undefined symbol "GREY"
C:\Users\user\Desktop\BS by ivan\gamemodes\MW.pwn(30534) : error 017: undefined symbol "COL_GREY"
C:\Users\user\Desktop\BS by ivan\gamemodes\MW.pwn(30534) : warning 215: expression has no effect
C:\Users\user\Desktop\BS by ivan\gamemodes\MW.pwn(30534) : error 001: expected token: ";", but found ")"
C:\Users\user\Desktop\BS by ivan\gamemodes\MW.pwn(30534) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


5 Errors.


sad baca opet 5 errora na liniju sad

   else { SendClientMessage(playerid, GREY, ""COL_GREY"{FFFFFF}|{0099FF}ShadyAS{FFFFFF}| Niste kod Mehanicara!"); }

i to sam pkusao maknem COL_GREY ali opet baca jos vise errora