Skripta koju koristim:moj od 0
Detaljan opis problema: Znaci baca mi ove errore
C:\Documents and Settings\Boris\Desktop\od0\od0\gamemodes\gm0.pwn(488) : warning 217: loose indentation
C:\Documents and Settings\Boris\Desktop\od0\od0\gamemodes\gm0.pwn(489) : warning 217: loose indentation
C:\Documents and Settings\Boris\Desktop\od0\od0\gamemodes\gm0.pwn(551) : warning 217: loose indentation
C:\Documents and Settings\Boris\Desktop\od0\od0\gamemodes\gm0.pwn(646) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Documents and Settings\Boris\Desktop\od0\od0\gamemodes\gm0.pwn(646) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Documents and Settings\Boris\Desktop\od0\od0\gamemodes\gm0.pwn(646) : warning 215: expression has no effect
C:\Documents and Settings\Boris\Desktop\od0\od0\gamemodes\gm0.pwn(646) : error 001: expected token: ";", but found "-integer value-"
C:\Documents and Settings\Boris\Desktop\od0\od0\gamemodes\gm0.pwn(646) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Dio skripte:
stock CreatePlayerStan(playerid, sellprice, StanLvl)
{
if((ReturnNextUnusedStanID()-1) >= MAX_STANOVA) return SendClientMessage(playerid, -1, ""CRVENA"[KUCA]:"ZELENA" Napravljen je maksimalan broj stanova.");
new Stan[64], Float:X, Float:Y, Float:Z; GetPlayerPos(playerid, X, Y, Z);
new NextStanID = ReturnNextUnusedStanID();
new World = SljedeciVirtualWorldStana();
format(Stan, sizeof(Stan), "/Kuce/%d.dini.save", NextStanID);
if(!dini_Exists(Stan)){
dini_Create(Stan);
dini_Set(Stan, "Name", "None");
dini_IntSet(Stan, "For_Sell", 1);
dini_IntSet(Stan, "Sell_Price", sellprice);
dini_IntSet(Stan, "Rent_Price", 1000);
dini_IntSet(Stan, "Stan_Level", StanLvl);
dini_FloatSet(Stan,"Exit_Coord:X", X);
dini_FloatSet(Stan,"Exit_Coord:Y", Y);
dini_FloatSet(Stan,"Exit_Coord:Z", Z);
dini_IntSet(Stan, "VirtualWorld", World);
dini_IntSet(Stan, "Status", 0);
LoadPlayerStan(NextStanID);
SendClientMessage(playerid, ""CRVENA"[KUCA]:"ZELENA" Kuca je uspjesno napravljena.");
}
return true;
}
Neke slike/video za lakse dobivanje pomoci(neobavezno):
Si skinuo novi DIni?