[POMOC] Warninzi

Započeo David003, Januar 21, 2013, 11:09:24 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: Moja (U obliku CLRP)
Opis problema: Napravio sam firmu Teretana i sve radi i onda sam napravio komandu /stiltuce i sve je ok al kad sam kod dialoga stavio da mi se pare prebacuju u firmu,a to sam tako stavio:

if(dialogid == DIALOGID+1)
{
if(response)
{
if(listitem == 0)
{
    if(GetPlayerMoney(playerid) < 150) return SendClientMessage(playerid, 0xFFFFFF, "Nemate dovoljno para za ElbowStil.");
SetPlayerFightingStyle (playerid, FIGHT_STYLE_ELBOW);
SendClientMessage(playerid, ZELENKASTA,"Izabrao si ElbowStil i platio 150 $!");
GivePlayerMoney(playerid, -150);
BizzInfo[20][sbTill] += 150;
                    ExtortionBiz(20, 150);
                    BizzInfo[20][sbProducts]--;
}
if(listitem == 1)
{
    if(GetPlayerMoney(playerid) < 200) return SendClientMessage(playerid, 0xFFFFFF, "Nemate dovoljno para za Boxing Stil.");
SetPlayerFightingStyle (playerid, FIGHT_STYLE_BOXING);
SendClientMessage(playerid, ZELENKASTA,"Izabrao si Boxing Stil i platio 200 $!");
GivePlayerMoney(playerid, -200);
BizzInfo[20][sbTill] += 200;
                    ExtortionBiz(20, 200);
                    BizzInfo[20][sbProducts]--;
}
if(listitem == 2)
{
    if(GetPlayerMoney(playerid) < 400) return SendClientMessage(playerid, 0xFFFFFF, "Nemate dovoljno para za Grab'n'Kick Stil.");
    SetPlayerFightingStyle (playerid, FIGHT_STYLE_GRABKICK);
    SendClientMessage(playerid, ZELENKASTA,"Izabrao si Grab'n'Kick Stil i platio 400 $!");
GivePlayerMoney(playerid, -400);
BizzInfo[20][sbTill] += 400;
                    ExtortionBiz(20, 400);
                    BizzInfo[20][sbProducts]--;
}
if(listitem == 3)
{
    if(GetPlayerMoney(playerid) < 250) return SendClientMessage(playerid, 0xFFFFFF, "Nemate dovoljno para za KneeHead Stil.");
SetPlayerFightingStyle (playerid, FIGHT_STYLE_KNEEHEAD);
SendClientMessage(playerid, ZELENKASTA,"Izabrao si KneeHead Stil i platio 250 $!");
    GivePlayerMoney(playerid, -250);
    BizzInfo[20][sbTill] += 250;
                    ExtortionBiz(20, 250);
                    BizzInfo[20][sbProducts]--;
}
if(listitem == 4)
{
    if(GetPlayerMoney(playerid) < 500) return SendClientMessage(playerid, 0xFFFFFF, "Nemate dovoljno para za Kung Fu Stil.");
    SetPlayerFightingStyle (playerid, FIGHT_STYLE_KUNGFU);
    SendClientMessage(playerid, ZELENKASTA,"Izabrao si Kung Fu Stil i platio 500 $!");
GivePlayerMoney(playerid, -500);
BizzInfo[20][sbTill] += 500;
                    ExtortionBiz(20, 500);
                    BizzInfo[20][sbProducts]--;
}
if(listitem == 5)
{
SetPlayerFightingStyle (playerid, FIGHT_STYLE_NORMAL);
SendClientMessage(playerid, ZELENKASTA,"Izabrao si Normalni Stil!");
}
}
return 1;
}


Dolaze mi ovi warninzi

C:\Users\David\Desktop\Croatia Sky RolePlay\gamemodes\CSRP.pwn(29844) : warning 213: tag mismatch
C:\Users\David\Desktop\Croatia Sky RolePlay\gamemodes\CSRP.pwn(29846) : warning 213: tag mismatch
C:\Users\David\Desktop\Croatia Sky RolePlay\gamemodes\CSRP.pwn(29854) : warning 213: tag mismatch
C:\Users\David\Desktop\Croatia Sky RolePlay\gamemodes\CSRP.pwn(29856) : warning 213: tag mismatch
C:\Users\David\Desktop\Croatia Sky RolePlay\gamemodes\CSRP.pwn(29864) : warning 213: tag mismatch
C:\Users\David\Desktop\Croatia Sky RolePlay\gamemodes\CSRP.pwn(29866) : warning 213: tag mismatch
C:\Users\David\Desktop\Croatia Sky RolePlay\gamemodes\CSRP.pwn(29874) : warning 213: tag mismatch
C:\Users\David\Desktop\Croatia Sky RolePlay\gamemodes\CSRP.pwn(29876) : warning 213: tag mismatch
C:\Users\David\Desktop\Croatia Sky RolePlay\gamemodes\CSRP.pwn(29884) : warning 213: tag mismatch
C:\Users\David\Desktop\Croatia Sky RolePlay\gamemodes\CSRP.pwn(29886) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

Header size:          14500 bytes
Code size:          3319776 bytes
Data size:          9768836 bytes
Stack/heap size:      16384 bytes; estimated max. usage=4987 cells (19948 bytes)
Total requirements:13119496 bytes

10 Warnings.


Slika/Video: //
Dio skripte: Dao sam

Uskoro!
Usput trazim mapera,inbox zainteresirani!

Citat: David (Sabljak) poslato Januar 21, 2013, 11:17:54 PRE PODNE
Tocne linije daj errora
BizzInfo[20][sbTill] += 150;
ExtortionBiz(20, 150);
BizzInfo[20][sbProducts]--;

Uskoro!
Usput trazim mapera,inbox zainteresirani!

Rjesio sam.mozete LOCK!
Problem je bio sto sam kod
BizzInfo[20][sbTill] += 150;
ExtortionBiz(20, 150);
BizzInfo[20][sbProducts]--;

Umjesto bProducts
sam stavio sbProducts

Uskoro!
Usput trazim mapera,inbox zainteresirani!