Szerző Téma: Hiba..  (Megtekintve 390 alkalommal)

Nem elérhető ZyZu.

  • Globális moderátor
  • 8939
  • my turbo diesel forum
  • Discord: ZyZu.
    • Profil megtekintése
Hiba..
« Dátum: 2012. június 04. - 00:37:18 »
0 Show voters
Helló! Van egy kiss gond a minigame rendszeremel :(
Mindig add egy error -t de mindent jól csináltam benne és mindig úgyan az a veszõ hiba!
Itt amit csináltam:
 

    cvar++;
        GetPlayerName(playerid,name,sizeof(name));
Minigamer_{ playerid } = true;
Iter_Add(_Minigamer, playerid );
format( str, sizeof( str ), \"Játékos %s \"COL_RULE\" csatlakozótt a MiniGame -ba!. Írd be \"COL_ORANGE\"/minigame \"COL_RULE\"a csatlakozáshoz! Férõhely: %i / 20!\" name, cvar ));
SendClientMessageToAll(9,str);

 
Erre a sorra adja az error -t:
 

format( str, sizeof( str ), \"Játékos %s \"COL_RULE\" csatlakozótt a MiniGame -ba!. Írd be \"COL_ORANGE\"/minigame \"COL_RULE\"a csatlakozáshoz! Férõhely: %i / 20!\" name, cvar ));

 
Az error -ok:
 

C:\\Users\\Dávid\\Desktop\\Cuccok\\mmk.pwn(2410) : error 001: expected token: \"-string end-\", but found \"-identifier-\"
C:\\Users\\Dávid\\Desktop\\Cuccok\\mmk.pwn(2410) : warning 215: expression has no effect
C:\\Users\\Dávid\\Desktop\\Cuccok\\mmk.pwn(2410) : warning 215: expression has no effect
C:\\Users\\DávidDesktop\\Cuccok\\mmk.pwn(2410) : error 001: expected token: \";\", but found \")\"
C:\\Users\\Dávid\\Desktop\\Cuccok\\mmk.pwn(2410) : error 029: invalid expression, assumed zero
C:\\Users\\Dávid\\Desktop\\Cuccok\\mmk.pwn(2410) : 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.
« Utoljára szerkesztve: 2012. június 04. - 00:38:49 írta ZyZu »

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal