[POMOC] Erori

Započeo |OY:RP| James
19. Apr. 2013. Zaključano
705
pregleda
15
postova
KIKI98
4
Enforcer
19. Apr. 2013.
Skripta koju koristim:South Europe:
Detaljan opis problema:radio sam kapa /kupikapu i imas kacket i baca mi eror neki:
Dio skripte:

(19018) : error 001: expected token: "-string end-", but found "-identifier-"
(19018) : warning 215: expression has no effect
(19018) : error 001: expected token: ";", but found "-string-"
(19018) : warning 215: expression has no effect
(19018) : error 001: expected token: ";", but found ")"
(19018) : fatal error 107: too many error messages on one line

Linija

                    if(GetPlayerMoney(playerid) < 149) return SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"BE{FFFFFF}!) Nemate dovoljno novca!");



Neke slike/video za lakse dobivanje pomoci(neobavezno):
ladolez
5
Underboss
19. Apr. 2013.
ovo has no efect je da nema efekta odnosno nemozes da stavis
 if(GetPlayerMoney(playerid) < 149) return SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"BE{FFFFFF}!) Nemate dovoljno novca!");


jer onda ti to znaci

ako (uzmi igracu novac(igracev id)) je manje od 149) vrati poruku(igracev id, boja, "text");

pa ti sad gledaj da li ima smisla

znaci ovo (GetPlayerMoney(playerid) < 149) tu treba da prilagodis svojoj skripti i da bude da tu proverava koliko ima novca a ne ovo
KIKI98
4
Enforcer
19. Apr. 2013.
nekontamte ae mi ti stavi to
[WW]ivan
5
Kingpin
19. Apr. 2013.
if(PlayerInfo < 149) return SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"BE{FFFFFF}!) Nemate dovoljno novca!");


probaj ovako samo stavi kod sebe ako ti je ovaj pNovac stavi pMoney ili kako ti je oznaceno
KIKI98
4
Enforcer
19. Apr. 2013.
baca eror na pNovac
a nece ni pMoney
Blaeks_Biofor
5
Forum Don
19. Apr. 2013.
pCash
KIKI98
4
Enforcer
19. Apr. 2013.

(19018) : error 001: expected token: "-string end-", but found "-identifier-"
(19018) : warning 215: expression has no effect
(19018) : error 001: expected token: ";", but found "-string-"
(19018) : warning 215: expression has no effect
(19018) : error 001: expected token: ";", but found ")"
(19018) : fatal error 107: too many error messages on one line


et sad erori ti kad sam stavio pCash
[WW]ivan
5
Kingpin
19. Apr. 2013.
Sweex wrote on April 19, 2013, 6:49 pm:

(19018) : error 001: expected token: "-string end-", but found "-identifier-"
(19018) : warning 215: expression has no effect
(19018) : error 001: expected token: ";", but found "-string-"
(19018) : warning 215: expression has no effect
(19018) : error 001: expected token: ";", but found ")"
(19018) : fatal error 107: too many error messages on one line


et sad erori ti kad sam stavio pCash


mozda nije do te linije, de posalji cijeli taj dio
KIKI98
4
Enforcer
19. Apr. 2013.
et toje medju prvim linijama ta linija a ovo je pod dialogrespone

////////////////////////////////////////////////kapa///////////////////////////////////
if(dialogid == 104)
{
    if(response)
    {
if(listitem ==  0)//Kapa
{
                    if(PlayerInfo < 149) return SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"BE{FFFFFF}!) Nemate dovoljno novca!");
SetPlayerAttachedObject(playerid, 1, 18926, 2, 0.17, 0, -0.01, 0, 0, 0);
GivePlayerMoney(playerid, -100);
                    SendClientMessage(playerid,0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Kupili ste kapu i platili "COLOR_YELLOW"149$.");
                    SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Da stavis svoju kapu pisi: "COLOR_YELLOW"/kapa.");
PlayerInfo = Cap1;
capwearg = 1;
}
if(listitem ==  1)//Cap1
{
if(GetPlayerMoney(playerid) < 149) return SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"BE{FFFFFF}!) Nemate dovoljno novca!");
                SetPlayerAttachedObject(playerid, 1, 18927, 2, 0.17, 0, -0.01, 0, 0, 0);
                GivePlayerMoney(playerid, -149);
                SendClientMessage(playerid,0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Kupili ste kapu i platili "COLOR_YELLOW"149$.");
SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Da stavis svoju kapu pisi: "COLOR_YELLOW"/kapa.");
PlayerInfo = Cap2;
capwearg = 1;
}
if(listitem ==  2)//Cap2
{
if(GetPlayerMoney(playerid) < 149) return SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"BE{FFFFFF}!) Nemate dovoljno novca!");
                SetPlayerAttachedObject(playerid, 1, 18928, 2, 0.17, 0, -0.01, 0, 0, 0);
                GivePlayerMoney(playerid, -149);
                SendClientMessage(playerid,0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Kupili ste kapu i platili "COLOR_YELLOW"149$.");
SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Da stavis svoju kapu pisi: "COLOR_YELLOW"/kapa.");
PlayerInfo = Cap3;
capwearg = 1;
}
if(listitem ==  3)//Cap3
{
if(GetPlayerMoney(playerid) < 149) return SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"BE{FFFFFF}!) Nemate dovoljno novca!");
                SetPlayerAttachedObject(playerid, 1, 18929, 2, 0.17, 0, -0.01, 0, 0, 0);
                GivePlayerMoney(playerid, -149);
                SendClientMessage(playerid,0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Kupili ste kapu i platili "COLOR_YELLOW"149$.");
SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Da stavis svoju kapu pisi: "COLOR_YELLOW"/kapa.");
PlayerInfo = Cap4;
capwearg = 1;
}
if(listitem ==  4)//Cap4
{
if(GetPlayerMoney(playerid) < 149) return SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"BE{FFFFFF}!) Nemate dovoljno novca!");
                SetPlayerAttachedObject(playerid, 1, 18930, 2, 0.17, 0, -0.01, 0, 0, 0);
                GivePlayerMoney(playerid, -149);
                SendClientMessage(playerid,0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Kupili ste kapu i platili "COLOR_YELLOW"149$.");
SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Da stavis svoju kapu pisi: "COLOR_YELLOW"/kapa.");
PlayerInfo = Cap5;
capwearg = 1;
}
if(listitem ==  5)//Cap5
{
if(GetPlayerMoney(playerid) < 149) return SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"BE{FFFFFF}!) Nemate dovoljno novca!");
                SetPlayerAttachedObject(playerid, 1, 18931, 2, 0.17, 0, -0.01, 0, 0, 0);
                GivePlayerMoney(playerid, -149);
                SendClientMessage(playerid,0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Kupili ste kapu i platili "COLOR_YELLOW"149$.");
SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Da stavis svoju kapu pisi: "COLOR_YELLOW"/kapa.");
PlayerInfo = Cap6;
capwearg = 1;
}
if(listitem ==  7)//Cap6
{
if(GetPlayerMoney(playerid) < 149) return SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"BE{FFFFFF}!) Nemate dovoljno novca!");
                SetPlayerAttachedObject(playerid, 1, 18932, 2, 0.17, 0, -0.01, 0, 0, 0);
                GivePlayerMoney(playerid, -149);
                SendClientMessage(playerid,0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Kupili ste kapu i platili "COLOR_YELLOW"149$.");
SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Da stavis svoju kapu pisi: "COLOR_YELLOW"/kapa.");
PlayerInfo = Cap7;
capwearg = 1;
}
if(listitem ==  8)//Cap7
{
if(GetPlayerMoney(playerid) < 149) return SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"BE{FFFFFF}!) Nemate dovoljno novca!");
                SetPlayerAttachedObject(playerid, 1, 18933, 2, 0.17, 0, -0.01, 0, 0, 0);
                GivePlayerMoney(playerid, -149);
                SendClientMessage(playerid,0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Kupili ste kapu i platili "COLOR_YELLOW"149$.");
SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Da stavis svoju kapu pisi: "COLOR_YELLOW"/kapa.");
PlayerInfo = Cap8;
capwearg = 1;
}
if(listitem ==  9)//Cap8
{
if(GetPlayerMoney(playerid) < 149) return SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"BE{FFFFFF}!) Nemate dovoljno novca!");
                SetPlayerAttachedObject(playerid, 1, 18934, 2, 0.17, 0, -0.01, 0, 0, 0);
                GivePlayerMoney(playerid, -149);
                SendClientMessage(playerid,0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Kupili ste kapu i platili "COLOR_YELLOW"149$.");
SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Da stavis svoju kapu pisi: "COLOR_YELLOW"/kapa.");
PlayerInfo = Cap9;
capwearg = 1;
}
if(listitem ==  10)//Cap10
{
if(GetPlayerMoney(playerid) < 149) return SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"BE{FFFFFF}!) Nemate dovoljno novca!");
                SetPlayerAttachedObject(playerid, 1, 18935, 2, 0.17, 0, -0.01, 0, 0, 0);
                GivePlayerMoney(playerid, -149);
                SendClientMessage(playerid,0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Kupili ste kapu i platili "COLOR_YELLOW"149$.");
SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Da stavis svoju kapu pisi: "COLOR_YELLOW"/kapa.");
PlayerInfo = Cap10;
capwearg = 1;
}
}
return 1;
}
[WW]ivan
5
Kingpin
19. Apr. 2013.
aj probaj stavit ovako

////////////////////////////////////////////////kapa///////////////////////////////////
if(dialogid == 104)
{
    if(response)
    {
if(listitem ==  0)//Kapa
{
                    if(PlayerInfo < 149) return SendClientMessage(playerid, -1, "("COLOR_YELLOW"BE{FFFFFF}!) Nemate dovoljno novca!");
SetPlayerAttachedObject(playerid, 1, 18926, 2, 0.17, 0, -0.01, 0, 0, 0);
GivePlayerMoney(playerid, -100);
                    SendClientMessage(playerid,0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Kupili ste kapu i platili "COLOR_YELLOW"149$.");
                    SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Da stavis svoju kapu pisi: "COLOR_YELLOW"/kapa.");
PlayerInfo = Cap1;
capwearg = 1;
}
if(listitem ==  1)//Cap1
{
if(GetPlayerMoney(playerid) < 149) return SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"BE{FFFFFF}!) Nemate dovoljno novca!");
                SetPlayerAttachedObject(playerid, 1, 18927, 2, 0.17, 0, -0.01, 0, 0, 0);
                GivePlayerMoney(playerid, -149);
                SendClientMessage(playerid,0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Kupili ste kapu i platili "COLOR_YELLOW"149$.");
SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Da stavis svoju kapu pisi: "COLOR_YELLOW"/kapa.");
PlayerInfo = Cap2;
capwearg = 1;
}
if(listitem ==  2)//Cap2
{
if(GetPlayerMoney(playerid) < 149) return SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"BE{FFFFFF}!) Nemate dovoljno novca!");
                SetPlayerAttachedObject(playerid, 1, 18928, 2, 0.17, 0, -0.01, 0, 0, 0);
                GivePlayerMoney(playerid, -149);
                SendClientMessage(playerid,0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Kupili ste kapu i platili "COLOR_YELLOW"149$.");
SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Da stavis svoju kapu pisi: "COLOR_YELLOW"/kapa.");
PlayerInfo = Cap3;
capwearg = 1;
}
if(listitem ==  3)//Cap3
{
if(GetPlayerMoney(playerid) < 149) return SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"BE{FFFFFF}!) Nemate dovoljno novca!");
                SetPlayerAttachedObject(playerid, 1, 18929, 2, 0.17, 0, -0.01, 0, 0, 0);
                GivePlayerMoney(playerid, -149);
                SendClientMessage(playerid,0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Kupili ste kapu i platili "COLOR_YELLOW"149$.");
SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Da stavis svoju kapu pisi: "COLOR_YELLOW"/kapa.");
PlayerInfo = Cap4;
capwearg = 1;
}
if(listitem ==  4)//Cap4
{
if(GetPlayerMoney(playerid) < 149) return SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"BE{FFFFFF}!) Nemate dovoljno novca!");
                SetPlayerAttachedObject(playerid, 1, 18930, 2, 0.17, 0, -0.01, 0, 0, 0);
                GivePlayerMoney(playerid, -149);
                SendClientMessage(playerid,0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Kupili ste kapu i platili "COLOR_YELLOW"149$.");
SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Da stavis svoju kapu pisi: "COLOR_YELLOW"/kapa.");
PlayerInfo = Cap5;
capwearg = 1;
}
if(listitem ==  5)//Cap5
{
if(GetPlayerMoney(playerid) < 149) return SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"BE{FFFFFF}!) Nemate dovoljno novca!");
                SetPlayerAttachedObject(playerid, 1, 18931, 2, 0.17, 0, -0.01, 0, 0, 0);
                GivePlayerMoney(playerid, -149);
                SendClientMessage(playerid,0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Kupili ste kapu i platili "COLOR_YELLOW"149$.");
SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Da stavis svoju kapu pisi: "COLOR_YELLOW"/kapa.");
PlayerInfo = Cap6;
capwearg = 1;
}
if(listitem ==  7)//Cap6
{
if(GetPlayerMoney(playerid) < 149) return SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"BE{FFFFFF}!) Nemate dovoljno novca!");
                SetPlayerAttachedObject(playerid, 1, 18932, 2, 0.17, 0, -0.01, 0, 0, 0);
                GivePlayerMoney(playerid, -149);
                SendClientMessage(playerid,0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Kupili ste kapu i platili "COLOR_YELLOW"149$.");
SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Da stavis svoju kapu pisi: "COLOR_YELLOW"/kapa.");
PlayerInfo = Cap7;
capwearg = 1;
}
if(listitem ==  8)//Cap7
{
if(GetPlayerMoney(playerid) < 149) return SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"BE{FFFFFF}!) Nemate dovoljno novca!");
                SetPlayerAttachedObject(playerid, 1, 18933, 2, 0.17, 0, -0.01, 0, 0, 0);
                GivePlayerMoney(playerid, -149);
                SendClientMessage(playerid,0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Kupili ste kapu i platili "COLOR_YELLOW"149$.");
SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Da stavis svoju kapu pisi: "COLOR_YELLOW"/kapa.");
PlayerInfo = Cap8;
capwearg = 1;
}
if(listitem ==  9)//Cap8
{
if(GetPlayerMoney(playerid) < 149) return SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"BE{FFFFFF}!) Nemate dovoljno novca!");
                SetPlayerAttachedObject(playerid, 1, 18934, 2, 0.17, 0, -0.01, 0, 0, 0);
                GivePlayerMoney(playerid, -149);
                SendClientMessage(playerid,0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Kupili ste kapu i platili "COLOR_YELLOW"149$.");
SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Da stavis svoju kapu pisi: "COLOR_YELLOW"/kapa.");
PlayerInfo = Cap9;
capwearg = 1;
}
if(listitem ==  10)//Cap10
{
if(GetPlayerMoney(playerid) < 149) return SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"BE{FFFFFF}!) Nemate dovoljno novca!");
                SetPlayerAttachedObject(playerid, 1, 18935, 2, 0.17, 0, -0.01, 0, 0, 0);
                GivePlayerMoney(playerid, -149);
                SendClientMessage(playerid,0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Kupili ste kapu i platili "COLOR_YELLOW"149$.");
SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Da stavis svoju kapu pisi: "COLOR_YELLOW"/kapa.");
PlayerInfo = Cap10;
capwearg = 1;
}
}
return 1;
}
KIKI98
4
Enforcer
19. Apr. 2013.
(1901😎 : error 001: expected token: "-string end-", but found "-identifier-"
(1901😎 : warning 215: expression has no effect
(1901😎 : error 001: expected token: ";", but found "-string-"
(1901😎 : warning 215: expression has no effect
(1901😎 : error 001: expected token: ";", but found ")"
(1901😎 : fatal error 107: too many error messages on one line

opet jebeim mamu
[WW]ivan
5
Kingpin
19. Apr. 2013.
Sweex wrote on April 19, 2013, 7:13 pm:
(1901😎 : error 001: expected token: "-string end-", but found "-identifier-"
(1901😎 : warning 215: expression has no effect
(1901😎 : error 001: expected token: ";", but found "-string-"
(1901😎 : warning 215: expression has no effect
(1901😎 : error 001: expected token: ";", but found ")"
(1901😎 : fatal error 107: too many error messages on one line

opet jebeim mamu


evo sad sam za svakog stavio taj pCash probaj ovako
////////////////////////////////////////////////kapa///////////////////////////////////
if(dialogid == 104)
{
    if(response)
    {
if(listitem ==  0)//Kapa
{
                    if(PlayerInfo < 149) return SendClientMessage(playerid, 0xFFFFFF, "(BE!) Nemate dovoljno novca!");
SetPlayerAttachedObject(playerid, 1, 18926, 2, 0.17, 0, -0.01, 0, 0, 0);
GivePlayerMoney(playerid, -100);
                    SendClientMessage(playerid,0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Kupili ste kapu i platili "COLOR_YELLOW"149$.");
                    SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Da stavis svoju kapu pisi: "COLOR_YELLOW"/kapa.");
PlayerInfo = Cap1;
capwearg = 1;
}
if(listitem ==  1)//Cap1
{
if(PlayerInfo < 149) return SendClientMessage(playerid, 0xFFFFFF, "(BE!) Nemate dovoljno novca!");
                SetPlayerAttachedObject(playerid, 1, 18927, 2, 0.17, 0, -0.01, 0, 0, 0);
                GivePlayerMoney(playerid, -149);
                SendClientMessage(playerid,0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Kupili ste kapu i platili "COLOR_YELLOW"149$.");
SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Da stavis svoju kapu pisi: "COLOR_YELLOW"/kapa.");
PlayerInfo = Cap2;
capwearg = 1;
}
if(listitem ==  2)//Cap2
{
if(PlayerInfo < 149) return SendClientMessage(playerid, 0xFFFFFF, "(BE!) Nemate dovoljno novca!");
                SetPlayerAttachedObject(playerid, 1, 18928, 2, 0.17, 0, -0.01, 0, 0, 0);
                GivePlayerMoney(playerid, -149);
                SendClientMessage(playerid,0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Kupili ste kapu i platili "COLOR_YELLOW"149$.");
SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Da stavis svoju kapu pisi: "COLOR_YELLOW"/kapa.");
PlayerInfo = Cap3;
capwearg = 1;
}
if(listitem ==  3)//Cap3
{
if(PlayerInfo < 149) return SendClientMessage(playerid, 0xFFFFFF, "(BE!) Nemate dovoljno novca!");
                SetPlayerAttachedObject(playerid, 1, 18929, 2, 0.17, 0, -0.01, 0, 0, 0);
                GivePlayerMoney(playerid, -149);
                SendClientMessage(playerid,0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Kupili ste kapu i platili "COLOR_YELLOW"149$.");
SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Da stavis svoju kapu pisi: "COLOR_YELLOW"/kapa.");
PlayerInfo = Cap4;
capwearg = 1;
}
if(listitem ==  4)//Cap4
{
if(PlayerInfo < 149) return SendClientMessage(playerid, 0xFFFFFF, "(BE!) Nemate dovoljno novca!");
                SetPlayerAttachedObject(playerid, 1, 18930, 2, 0.17, 0, -0.01, 0, 0, 0);
                GivePlayerMoney(playerid, -149);
                SendClientMessage(playerid,0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Kupili ste kapu i platili "COLOR_YELLOW"149$.");
SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Da stavis svoju kapu pisi: "COLOR_YELLOW"/kapa.");
PlayerInfo = Cap5;
capwearg = 1;
}
if(listitem ==  5)//Cap5
{
if(PlayerInfo < 149) return SendClientMessage(playerid, 0xFFFFFF, "(BE!) Nemate dovoljno novca!");
                SetPlayerAttachedObject(playerid, 1, 18931, 2, 0.17, 0, -0.01, 0, 0, 0);
                GivePlayerMoney(playerid, -149);
                SendClientMessage(playerid,0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Kupili ste kapu i platili "COLOR_YELLOW"149$.");
SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Da stavis svoju kapu pisi: "COLOR_YELLOW"/kapa.");
PlayerInfo = Cap6;
capwearg = 1;
}
if(listitem ==  7)//Cap6
{
if(PlayerInfo < 149) return SendClientMessage(playerid, 0xFFFFFF, "(BE!) Nemate dovoljno novca!");
                SetPlayerAttachedObject(playerid, 1, 18932, 2, 0.17, 0, -0.01, 0, 0, 0);
                GivePlayerMoney(playerid, -149);
                SendClientMessage(playerid,0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Kupili ste kapu i platili "COLOR_YELLOW"149$.");
SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Da stavis svoju kapu pisi: "COLOR_YELLOW"/kapa.");
PlayerInfo = Cap7;
capwearg = 1;
}
if(listitem ==  8)//Cap7
{
if(PlayerInfo < 149) return SendClientMessage(playerid, 0xFFFFFF, "(BE!) Nemate dovoljno novca!");
                SetPlayerAttachedObject(playerid, 1, 18933, 2, 0.17, 0, -0.01, 0, 0, 0);
                GivePlayerMoney(playerid, -149);
                SendClientMessage(playerid,0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Kupili ste kapu i platili "COLOR_YELLOW"149$.");
SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Da stavis svoju kapu pisi: "COLOR_YELLOW"/kapa.");
PlayerInfo = Cap8;
capwearg = 1;
}
if(listitem ==  9)//Cap8
{
if(PlayerInfo < 149) return SendClientMessage(playerid, 0xFFFFFF, "(BE!) Nemate dovoljno novca!");
                SetPlayerAttachedObject(playerid, 1, 18934, 2, 0.17, 0, -0.01, 0, 0, 0);
                GivePlayerMoney(playerid, -149);
                SendClientMessage(playerid,0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Kupili ste kapu i platili "COLOR_YELLOW"149$.");
SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Da stavis svoju kapu pisi: "COLOR_YELLOW"/kapa.");
PlayerInfo = Cap9;
capwearg = 1;
}
if(listitem ==  10)//Cap10
{
if(PlayerInfo < 149) return SendClientMessage(playerid, 0xFFFFFF, "(BE!) Nemate dovoljno novca!");
                SetPlayerAttachedObject(playerid, 1, 18935, 2, 0.17, 0, -0.01, 0, 0, 0);
                GivePlayerMoney(playerid, -149);
                SendClientMessage(playerid,0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Kupili ste kapu i platili "COLOR_YELLOW"149$.");
SendClientMessage(playerid, 0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Da stavis svoju kapu pisi: "COLOR_YELLOW"/kapa.");
PlayerInfo = Cap10;
capwearg = 1;
}
}
return 1;
}
KIKI98
4
Enforcer
19. Apr. 2013.
sad ne baca vise na tu gore nego neku ispod ovu

(19022) : error 001: expected token: "-string end-", but found "-identifier-"
(19022) : error 001: expected token: "-string end-", but found "-identifier-"
(19022) : warning 215: expression has no effect
(19022) : error 001: expected token: ";", but found "-integer value-"
(19022) : fatal error 107: too many error messages on one line


                    SendClientMessage(playerid,0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Kupili ste kapu i platili "COLOR_YELLOW"149$.");

ta linija aj bt kako vako erori u pm
[WW]ivan
5
Kingpin
19. Apr. 2013.
Sweex wrote on April 19, 2013, 7:24 pm:
sad ne baca vise na tu gore nego neku ispod ovu

(19022) : error 001: expected token: "-string end-", but found "-identifier-"
(19022) : error 001: expected token: "-string end-", but found "-identifier-"
(19022) : warning 215: expression has no effect
(19022) : error 001: expected token: ";", but found "-integer value-"
(19022) : fatal error 107: too many error messages on one line


                    SendClientMessage(playerid,0xFFFFFF, "("COLOR_YELLOW"ProLaps{FFFFFF}!) Kupili ste kapu i platili "COLOR_YELLOW"149$.");

ta linija aj bt kako vako erori u pm


to ti je do ovih boja unutar texta
Blaeks_Biofor
5
Forum Don
19. Apr. 2013.
ako zelis visebojnu liniju, koristi 0.3c boje, a ne osnovne

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha