Skripta koju koristim:LKuca by Pablo Escobarr
Detaljan opis problema:Kada kompilujem mod izbaci mi ovaj error:
C:\Users\Nikola Jovicic\Desktop\asde\gamemodes\LK.pwn(24458) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Nikola Jovicic\Desktop\asde\gamemodes\LK.pwn(24458) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Nikola Jovicic\Desktop\asde\gamemodes\LK.pwn(24458) : warning 215: expression has no effect
C:\Users\Nikola Jovicic\Desktop\asde\gamemodes\LK.pwn(24458) : error 001: expected token: ";", but found "-integer value-"
C:\Users\Nikola Jovicic\Desktop\asde\gamemodes\LK.pwn(24458) : fatal error 107: too many error messages on one line
i izbrise se .amx file iz Gamemode.
Dio skripte:/
Neke slike/video za lakse dobivanje pomoci(neobavezno):/
Logicno da se izbrise kad izbacuje errore, i daj liniju 24458.. -.-
//////////////////////////////////////////////////////
YCMD:gmduty(playerid, params[], help)
{
#pragma unused help
#pragma unused params
if(UlogovanProvera[playerid] == 0) return SCM(playerid,-1,"((AG)) | "CRVENA"Moras se ulogovati da bi koristio ovu komandu!");
if(PlayerInfo[playerid][pGM] == 0) return SCM(playerid, -1, ""SPLAVA"((AG)) "BELA"Samo GameMasteri!");
if(PlayerInfo[playerid][pTrazeniLevel] != 0) return SCM(playerid, -1, ""SPLAVA"[((AG)) "BELA"Imate trazeni level ne mozete koristiti ovu komandu");
new string[256];
if(GMDuty[playerid] == 0)
{
format(string,sizeof(string),""SCRVENA"(( "PLAVA"GameMaster %s je na duznosti,za pomoc kucajte /pitaj "SCRVENA"))",GetName(playerid));
SCMTA(-1,string);
GMDuty[playerid] = 1;
SetPlayerColor(playerid, 0x33CCFFAA);
SetPVarInt(playerid, "Izbegavanje", 1);
SetPlayerArmour(playerid, 99.0);
SetPlayerHealth(playerid, 99.0);
}
else if(GMDuty[playerid] == 1)
{
SetPlayerArmour(playerid, 0);
SetPlayerHealth(playerid, 99.0);
SetPlayerColor(playerid,BELA2);
SetPVarInt(playerid, "Izbegavanje", 0);
format(string,sizeof(string),""SCRVENA"(( "PLAVA"GameMaster %s je van duznosti"SCRVENA"))",GetName(playerid));
SCMTA(-1,string);
GMDuty[playerid] = 0;
}
return 1;
}
///////////////////////////////////////////////////////
@Nikola rekao je jednu liniju. A ne sve, i otkud mi sad znamo koja je to linija??