[Pomoc] SendClientMessage problem

Započeo Terza, Avgust 06, 2011, 12:34:38 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Skripta koju koristim:Moja scripta
Detaljan opis problema:Izbacuje error :
C:\Documents and Settings\Terza\Desktop\Terza RPG test\gamemodes\bosbalkan.pwn(166) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\Terza\Desktop\Terza RPG test\gamemodes\bosbalkan.pwn(167) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\Terza\Desktop\Terza RPG test\gamemodes\bosbalkan.pwn(168) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\Terza\Desktop\Terza RPG test\gamemodes\bosbalkan.pwn(169) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\Terza\Desktop\Terza RPG test\gamemodes\bosbalkan.pwn(170) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\Terza\Desktop\Terza RPG test\gamemodes\bosbalkan.pwn(171) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\Terza\Desktop\Terza RPG test\gamemodes\bosbalkan.pwn(172) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


7 Errors.

Dio skripte:public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/bb", cmdtext, true) == 0)
{
    SendClientMessage(playerid,ZUTA, "Vlasnici BosBalkan Gaming Community-a:");
SendClientMessage(playerid,SVIJETLO_PLAVA, "Emir Terzic");
SendClientMessage(playerid,SVIJETLO_PLAVA, "Emir Memiševic");
SendClientMessage(playerid,SVIJETLO_PLAVA, "Forum : www.bosbalkan.com.ba");
SendClientMessage(playerid,ZUTA, "BosBalkan Serveri:");
SendClientMessage(playerid,BIJELA, "BosBalkan Roleplay IP: USKORO");
SendClientMessage(playerid,BIJELA, "BosBalkan Public CS IP: USKORO");
 

  return 1;
}
return 0;
}

Neke slike/video za lakse dobivanje pomoci(neobavezno)://
Pravim web stranice za novac!
Osobni portofolio http:terza.com.ba/ !
Kontakt imate na stranici!


Jesi siguran da su greške u navedenim linijama?

Citat: Aleksandar? poslato Avgust 06, 2011, 12:35:47 POSLE PODNE
Kako su ti definisane te boje(ZUTA itd)?
Evo kako su navedene:
// Boje
#define BIJELA "{FFFFFF}"
#define CRNA "{0E0101}"
#define SIVA "{C3C3C3}"
#define ZELENA "{6EF83C}"
#define CRVENA "{F81414}"
#define ZUTA "{F3FF02}"
#define NARANDZASTA "{FFAF00}"
#define LIME "{B7FF00}"
#define CYAN "{00FFEE}"
#define SVIJETLO_PLAVA "{00C0FF}"
#define PLAVA "{0049FF}"
#define ROZA "{FF00EA}"
#define SVIJETLO_ZELENA "{C9FFAB}"
#define SVIJETLO_CRVENA "{FFA1A1}"
#define SVIJETLO_CRVENA2 "{C77D87}"
Pravim web stranice za novac!
Osobni portofolio http:terza.com.ba/ !
Kontakt imate na stranici!

dragan12

Aj postavi ovako
    SendClientMessage(playerid,0xF3FF02, "Vlasnici BosBalkan Gaming Community-a:");
SendClientMessage(playerid,0x00C0FF, "Emir Terzic");
SendClientMessage(playerid,0x00C0FF, "Emir Memiševic");
SendClientMessage(playerid,0x00C0FF, "Forum : www.bosbalkan.com.ba");
SendClientMessage(playerid,0xF3FF02, "BosBalkan Serveri:");
SendClientMessage(playerid,0xFFFFFF, "BosBalkan Roleplay IP: USKORO");
SendClientMessage(playerid,0xFFFFFF, "BosBalkan Public CS IP: USKORO");

Jer to sto si ti definisao to ti nemoze ici tu kao boja to ti vise u text da ubacis i da stavis tu zato si trebao staviti npr. 0xpa boja

Hvala vam napravio sam!
Pravim web stranice za novac!
Osobni portofolio http:terza.com.ba/ !
Kontakt imate na stranici!