19.01.2008, 08:29
Thanks, guys! But may be some ideas for the next version?

|
Originally Posted by jesse989898
can i make gang war on this that saves the new owner into a file?
for example green shoot 3 people in red team so a turf war begins |
public OnGameModeInit()
{
new temp, Hour, Minute, Seconds;
format(ScriptVersion, sizeof(ScriptVersion), "3.4.0");
format(strings, sizeof(strings), "Nitro's Freeroam v%s", ScriptVersion);
SetGameModeText(strings);
gettime(Hour, Minute, Seconds);
if(Hour < 10) {
format(SystemTime, sizeof(SystemTime), "0%d",Hour);
} else {
format(SystemTime, sizeof(SystemTime), "%d",Hour);
}
if(Minute < 10) {
format(SystemTime, sizeof(SystemTime), "%s:0%d",SystemTime,Minute);
} else {
format(SystemTime, sizeof(SystemTime), "%s:%d",SystemTime,Minute);
}
format(strings, sizeof(strings), "System time: %s", SystemTime);
printf(strings);
ShowPlayerMarkers(1);
ShowNameTags(1);
public OnGameModeInit()
{
GZ_LoadLGZ();
SetWorldTime(12);
...
}
public OnPlayerConnect(playerid)
{
GZ_SetTrueGZOwner(playerid);
...
}
public OnPlayerDisconnect(playerid, reason)
{
GZ_DeleteZoneTemp(playerid);
...
}
|
C:\ИНТЕРНЕТ\Батлфилд\gamemodes\bf2.pwn(219) : error 017: undefined symbol "GZ_LoadLGZ" C:\ИНТЕРНЕТ\Батлфилд\gamemodes\bf2.pwn(567) : error 017: undefined symbol "GZ_SetTrueGZOwner" C:\ИНТЕРНЕТ\Батлфилд\gamemodes\bf2.pwn(594) : error 017: undefined symbol "GZ_DeleteZoneTemp" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Errors. |
|
Originally Posted by carmaster
Code:
C:\Users\Gaizka\Films Role Play\pawno\include\LGZ.inc(63) : error 035: argument type mismatch (argument 2) C:\Users\Gaizka\Films Role Play\pawno\include\LGZ.inc(356) : error 035: argument type mismatch (argument 3) C:\Users\Gaizka\Films Role Play\pawno\include\LGZ.inc(415) : error 017: undefined symbol "MAX_STRING" C:\Users\Gaizka\Films Role Play\pawno\include\LGZ.inc(415) : error 009: invalid array size (negative, zero or out of bounds) C:\Users\Gaizka\Films Role Play\pawno\include\LGZ.inc(415) : error 036: empty statement C:\Users\Gaizka\Films Role Play\pawno\include\LGZ.inc(415) : fatal error 107: too many error messages on one line |
C:\Documents and Settings\гег\My Documents\Downloads\samp03asvr_R4_win32\pawno\include\LGZ.inc(10) : fatal error 100: cannot read from file: "dini"
|
Originally Posted by [LDT
LuxurY ]
Quote:
|