[Pomoc] Erori


Započeo Shaw Salcedo, Septembar 14, 2014, 16:04:30 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: Moja
Detaljan opis problema: Ljudi pomoc imam erore
C:\Users\maza\Desktop\Balkan Elitez v6.0\gamemodes\dukenzi.pwn(43059) : error 001: expected token: ";", but found "-identifier-"
C:\Users\maza\Desktop\Balkan Elitez v6.0\gamemodes\dukenzi.pwn(43059) : warning 215: expression has no effect
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase

Evo deo skripte
    PlayerInfo[playerid][pClan] == 0;

Neke slike/video za lakse dobivanje pomoci(neobavezno):
GAD SAM JA

Postavljas mu to na 0 ili? Ako mu postavljas na 0 onda treba ovako:
PlayerInfo[playerid][pClan] = 0;

Denis_Lapi

*

Balkan SA:MP Web Designer

PlayerInfo[playerid][pClan] = 0;
Ovo stavi ako hoces da toj varijabli postavis vrednost kada stavljas == znaci da je uporedjujes u if,else if..

[FS] Bank Sistem
[TuT] Array Sistem (Napredna)


"Pa krenite na mene i provesce te se super ko kapetan Kuka kada levom brise dupe"

www.denis-lapi.com

Evo opet eror
C:\Users\maza\Desktop\Balkan Elitez v6.0\gamemodes\dukenzi.pwn(43059) : error 001: expected token: ";", but found "-identifier-"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase
GAD SAM JA

Citat: Kriso_Anderson poslato Septembar 14, 2014, 16:19:39 POSLE PODNE
Evo opet eror
C:\Users\maza\Desktop\Balkan Elitez v6.0\gamemodes\dukenzi.pwn(43059) : error 001: expected token: ";", but found "-identifier-"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


Postavi citavu funkciju ili komandu gdje ti izbacuje error.

if(dialogid == 9813)
{
    if(response == 0)
    {
    //SCM(playerid, -1, "{07C1F5}{FFFFFF} Zao nam je ne mozete izvaditi licnu kartu!");
    }
    if(response == 1)
    {
    PlayerInfo[playerid][pSkin] = 299;
    RemovePlayerAttachedObject(playerid, 7);
    SetPlayerColor(playerid,COLOR_GRAD2);
    SetPlayerSkin(playerid,299);
    g_SetPlayerHealth(playerid, 0)
    PlayerInfo[playerid][pClan] = 0;
    PlayerInfo[playerid][pRank] = 0;
    SCM(playerid, -1, ""CRVENA"Napustili ste svoju organizaciju, sada ste civil!");
    }
}

Eto ti dialog
GAD SAM JA

U liniji prije ti fali ";"

if(dialogid == 9813)
{
    if(response == 0)
    {
    //SCM(playerid, -1, "{07C1F5}{FFFFFF} Zao nam je ne mozete izvaditi licnu kartu!");
    }
    if(response == 1)
    {
    PlayerInfo[playerid][pSkin] = 299;
    RemovePlayerAttachedObject(playerid, 7);
    SetPlayerColor(playerid,COLOR_GRAD2);
    SetPlayerSkin(playerid,299);
    g_SetPlayerHealth(playerid, 0);
    PlayerInfo[playerid][pClan] = 0;
    PlayerInfo[playerid][pRank] = 0;
    SCM(playerid, -1, ""CRVENA"Napustili ste svoju organizaciju, sada ste civil!");
    }
}