Jump to content
  • 0

Question

Posted

Salut deci am nevoie de ajutor! :D

Imi da Error la urmatoarele culori dar nustiu de ce. Ma puteti ajuta?

[pawn]C:\Documents and Settings\WynXP\Desktop\Sa-MP Servers\gamemodes\RDS.pwn(248) : error 017: undefined symbol "Albastru"

C:\Documents and Settings\WynXP\Desktop\Sa-MP Servers\gamemodes\RDS.pwn(249) : error 017: undefined symbol "Albastru"

C:\Documents and Settings\WynXP\Desktop\Sa-MP Servers\gamemodes\RDS.pwn(254) : error 017: undefined symbol "Rosu"

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

3 Errors.[/pawn]

Le am definite dar degeaba...

[pawn]#define Rosu 0xFF0000FF

#define Albastru 0x0000FFAA[/pawn]

Si le-am folosit la aceasta linie:

[pawn]public OnPlayerConnect(playerid)

{

GameTextForPlayer(playerid, "~r~Bine ai venit!", 2500, 5);

SendClientMessage(playerid, Albastru, "Bine ai venit pe [Censored by System]!");

SendClientMessage(playerid, Albastru, "Pentru a vedea comenzile scrie /cmds. Bafta la joc!");

GivePlayerMoney(playerid, 500000);

new Jucator[30], string[256];

GetPlayerName(playerid, Jucator, 30);

format(string, 256, "%s a intrat pe server!", Jucator);

SendClientMessageToAll(Rosu, string);

return 1;

}[/pawn]

Ma puteti ajuta va rog frumos. Multumesc Comunitate SA:MP.Ro!

4 answers to this question

Recommended Posts

Posted

Degeaba mane uite!:

[pawn]C:\Documents and Settings\WynXP\Desktop\Sa-MP Servers\gamemodes\RDS.pwn(248) : error 017: undefined symbol "COLOR_Albastru"

C:\Documents and Settings\WynXP\Desktop\Sa-MP Servers\gamemodes\RDS.pwn(249) : error 017: undefined symbol "COLOR_Albastru"

C:\Documents and Settings\WynXP\Desktop\Sa-MP Servers\gamemodes\RDS.pwn(254) : error 017: undefined symbol "COLOR_Rosu"

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

3 Errors.[/pawn]

[pawn]#define COLOR_Rosu 0xFF0000FF

#define COLOR_Albastru 0x0000FFAA[/pawn]

Posted

In loc de

SendClientMessageToAll(Rosu, string);

pune

SendClientMessageToAll(0xFF0000FF, string);

Iar in loc de

SendClientMessage(playerid, Albastru, "Bine ai venit pe [Censored by System]!");

pune

SendClientMessage(playerid, 0x0000FFAA, "Bine ai venit pe [Censored by System]!");

 

1859311972_BANNER-GIREADAcopy-min.thumb.png.48e5e420ae2185dce5b244965a1d2601.png

 

Posted

In loc de

SendClientMessageToAll(Rosu, string);

pune

SendClientMessageToAll(0xFF0000FF, string);

Iar in loc de

SendClientMessage(playerid, Albastru, "Bine ai venit pe [Censored by System]!");

pune

SendClientMessage(playerid, 0x0000FFAA, "Bine ai venit pe [Censored by System]!");

Nu merge...:((

Glumeam multumesc mult. :D Cer T/C!

[pawn]Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

[/pawn]

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.