Skripta koju koristim:GF
Detaljan opis problema:
Dio skripte: linija 69777 nepostoji :S
C:\Documents and Settings\Mirnes\Desktop\Geforce original\gamemodes\Geforce.pwn(69777) : error 030: compound statement not closed at the end of file (started at line 36859)
a linija 36859
public OnPlayerCommandText(playerid, cmdtext[])
{
if (!IsPlayerConnected(playerid)) return 0; // ovo je ta linija
Neke slike/video za lakse dobivanje pomoci(neobavezno)://
Negde nisi zatvorio komandu ili te callback sa odgovarajucom zagradicom, proveri se gde si ih izostavio :)
if(newkeys & 16)
{
if (IsPlayerInRangeOfPoint(playerid, 4, 1478.1338,-1608.6088,30142.7051)) // PD enter zatvoru
{
GameTextForPlayer(playerid, "~g~Zatvor", 5000, 1);
SetPlayerInterior(playerid,3);
SetPlayerVirtualWorld(playerid, 33);
SetPlayerPos(playerid,1492.9790,-1604.9498,30143.9004);
}
return 1;
}
ako znas gdje nisam zatvorio zagradicom, mozes li popraviti ?
if(newkeys & 16)
{
if (IsPlayerInRangeOfPoint(playerid, 4, 1478.1338,-1608.6088,30142.7051)) // PD enter zatvoru
{
GameTextForPlayer(playerid, "~g~Zatvor", 5000, 1);
SetPlayerInterior(playerid,3);
SetPlayerVirtualWorld(playerid, 33);
SetPlayerPos(playerid,1492.9790,-1604.9498,30143.9004);
}
}
return 1;
}
Ovako probaj