Jump to content
  • 0

Problema /news


3xTaSY

Question

Salut.

Deci nu  stiu cum sa fac un nou rand in comanda news.. am facut, dar acum am 6 erori :| Uitati codul:

[pawn]stock ShowNews()

{

new News[5024];

//--------------------------------------------------------------------------

strcat(News, "{AFAFAF}Noutati server\n\

  \n\

  {FF0000}» {AFAFAF}Au fost adaugate noi comenzi pentru RCON.\n

strcat(News, "{FF0000}» {AFAFAF}La comanda {FF0000}/vheli {AFAFAF}pentru VIP Level 7, a fost adaugat un timer de 10 minute.\n\

  {FF0000}» {AFAFAF}Culorile serverului, au fost schimbate in totalitate.\n\

  {FF0000}» {AFAFAF}Au fost adaugate noi Radio-uri.\n\

  {FF0000}» {AFAFAF}Un nou aspect la {FF0000}/stats{AFAFAF}.\n\

  {FF0000}» {AFAFAF}S-a dat restart la {FF0000}Case, Coins, Ore, Clanuri, Kills{AFAFAF}.\n\

  {FF0000}» {AFAFAF}Avem un nou Owner: {FF0000}ftw.\n");

  strcat(News, "{FF0000}» {AFAFAF}La comanda {FF0000}/vtank{AFAFAF}, a fost adaugat un timer de 5 minute.\n\

  {FF0000}» {AFAFAF}Am adaugat o noua mapa la {FF0000}/Chilliad{AFAFAF}!\n");

strcat(News, "{FF0000}Distractie Placuta!");

//--------------------------------------------------------------------------

return News;

}[/pawn]

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

Erorile?

C:\Users\- - -\Desktop\eXtreme Stunt Devil v5\gamemodes\xsd.pwn(4125) : error 035: argument type mismatch (argument 5)
C:\Users\- - -\Desktop\eXtreme Stunt Devil v5\gamemodes\xsd.pwn(10180) : error 035: argument type mismatch (argument 5)
C:\Users\- - -\Desktop\eXtreme Stunt Devil v5\gamemodes\xsd.pwn(13430) : error 037: invalid string (possibly non-terminated string)
C:\Users\- - -\Desktop\eXtreme Stunt Devil v5\gamemodes\xsd.pwn(13430) : error 017: undefined symbol "AFAFAF"
C:\Users\- - -\Desktop\eXtreme Stunt Devil v5\gamemodes\xsd.pwn(13430) : error 017: undefined symbol "Noutati"
C:\Users\- - -\Desktop\eXtreme Stunt Devil v5\gamemodes\xsd.pwn(13430) : fatal error 107: too many error messages on one line

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


6 Errors.

Link to comment
Share on other sites

[pawn]

stock ShowNews()

{

new News[5024];

//--------------------------------------------------------------------------

strcat(News, "{AFAFAF}Noutati server\n\

  \n\

  {FF0000}» {AFAFAF}Au fost adaugate noi comenzi pentru RCON.\n");

strcat(News, "{FF0000}» {AFAFAF}La comanda {FF0000}/vheli {AFAFAF}pentru VIP Level 7, a fost adaugat un timer de 10 minute.\n\

  {FF0000}» {AFAFAF}Culorile serverului, au fost schimbate in totalitate.\n\

  {FF0000}» {AFAFAF}Au fost adaugate noi Radio-uri.\n\

  {FF0000}» {AFAFAF}Un nou aspect la {FF0000}/stats{AFAFAF}.\n\

  {FF0000}» {AFAFAF}S-a dat restart la {FF0000}Case, Coins, Ore, Clanuri, Kills{AFAFAF}.\n\

  {FF0000}» {AFAFAF}Avem un nou Owner: {FF0000}ftw.\n");

  strcat(News, "{FF0000}» {AFAFAF}La comanda {FF0000}/vtank{AFAFAF}, a fost adaugat un timer de 5 minute.\n\

  {FF0000}» {AFAFAF}Am adaugat o noua mapa la {FF0000}/Chilliad{AFAFAF}!\n");

strcat(News, "{FF0000}Distractie Placuta!");

//--------------------------------------------------------------------------

return News;

}[/pawn]

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.