[Include] [INC] LGZ 1.3.2 [REL: 11 Jan 2008] | Let's capture the zone!
#21

Thanks, guys! But may be some ideas for the next version?
Reply
#22

Nice work, Luxury, I love the Updates

Reply
#23

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
Reply
#24

Quote:
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
of course you may. but it's not simply. i'm going to make something like this in the next version.
Reply
#25

Where do i need to add this:

1. Put GZ_LoadLGZ(); in OnGameModeInit



Код:
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);
Reply
#26

Can somebody please help me? Because my gamemode is so full i don't know where to add those lines xD
Reply
#27

put it after ShowNameTags(1);
Reply
#28

i cant wait until you release the gangzone war, then i will use your script
Reply
#29

I'm very sorry, but I have a problem with installing it.

1) Put GZ_LoadLGZ(); in OnGameModeInit
Код:
public OnGameModeInit()
{
GZ_LoadLGZ();
SetWorldTime(12);
...
}
2) Put GZ_SetTrueGZOwner(playerid); in OnPlayerConnect
Код:
public OnPlayerConnect(playerid)
{
GZ_SetTrueGZOwner(playerid);
...
}
3) Put GZ_DeleteZoneTemp(playerid); in OnPlayerDisconnect
Код:
public OnPlayerDisconnect(playerid, reason)
{
GZ_DeleteZoneTemp(playerid);
...
}
4) Create folder LGZ in directory …/scriptfiles
Done

5) Put file LGZ.inc in directory …/pawno/include
Done

But I got these errors:

Quote:

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.

Reply
#30

Quote:
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
I have 1.3.2. I get that when i try to compile the example that comes with the release
GZ.pwn (example) compiles OK for me. May be it's not 0.3 compatible.
Reply
#31

Could you make it for 0.3 please? i want to make a territory system for my RP server and i love that inc :P
Reply
#32

Code:
C:\Documents and Settings\гег\My Documents\Downloads\samp03asvr_R4_win32\pawno\include\LGZ.inc(10) : fatal error 100: cannot read from file: "dini"
what to doo ? its in the include what i have to fix there ?
Reply
#33

Compiles without any errors/warnings for me (0.3)... Great work!
Reply
#34

Quote:
Originally Posted by [LDT
LuxurY ]
Quote:
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
I have 1.3.2. I get that when i try to compile the example that comes with the release
GZ.pwn (example) compiles OK for me. May be it's not 0.3 compatible.
Please make it 0.3 Compatible
Reply
#35

Yes PLEASE make it 0.3 Compatible!
Reply
#36

C:\Documents and Settings\Administrateur\Bureau\TGRP\gamemodes\NGRP .pwn(9) : fatal error 100: cannot read from file: "LGZ"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#37

good inc
Reply
#38

Update link?
Reply
#39

Cool!
Reply
#40

ohh thnx alot as i was searching for this
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)