SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 19/01/2008, 08:29 AM   #21
[LDT]LuxurY
Huge Clucker
 
[LDT]LuxurY's Avatar
 
Join Date: Feb 2007
Location: Russian Federation, Orekhovo-Zyevo
Posts: 219
Reputation: 1
Default Re: [INC] LGZ 1.3.2b [REL: 11 Jan 2008] | Let's capture the zone!

Thanks, guys! But may be some ideas for the next version?
[LDT]LuxurY is offline   Reply With Quote
Old 19/01/2008, 10:08 AM   #22
Grove
Huge Clucker
 
Join Date: Jan 2007
Posts: 299
Reputation: 6
Default Re: [INC] LGZ 1.3.2b [REL: 11 Jan 2008] | Let's capture the zone!

Nice work, Luxury, I love the Updates

Grove is offline   Reply With Quote
Old 19/01/2008, 12:42 PM   #23
jesse989898
Big Clucker
 
Join Date: Jul 2007
Posts: 61
Reputation: 0
Default Re: [INC] LGZ 1.3.2b [REL: 11 Jan 2008] | Let's capture the zone!

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
jesse989898 is offline   Reply With Quote
Old 19/01/2008, 01:29 PM   #24
[LDT]LuxurY
Huge Clucker
 
[LDT]LuxurY's Avatar
 
Join Date: Feb 2007
Location: Russian Federation, Orekhovo-Zyevo
Posts: 219
Reputation: 1
Default Re: [INC] LGZ 1.3.2b [REL: 11 Jan 2008] | Let's capture the zone!

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.
[LDT]LuxurY is offline   Reply With Quote
Old 20/01/2008, 03:46 PM   #25
Avatar
Big Clucker
 
Join Date: Apr 2007
Posts: 59
Reputation: 0
Default Re: [INC] LGZ 1.3.2b [REL: 11 Jan 2008] | Let's capture the zone!

Where do i need to add this:

1. Put GZ_LoadLGZ(); in OnGameModeInit



Code:
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);
Avatar is offline   Reply With Quote
Old 20/01/2008, 04:59 PM   #26
Avatar
Big Clucker
 
Join Date: Apr 2007
Posts: 59
Reputation: 0
Default Re: [INC] LGZ 1.3.2b [REL: 11 Jan 2008] | Let's capture the zone!

Can somebody please help me? Because my gamemode is so full i don't know where to add those lines xD
Avatar is offline   Reply With Quote
Old 21/01/2008, 10:15 AM   #27
[LDT]LuxurY
Huge Clucker
 
[LDT]LuxurY's Avatar
 
Join Date: Feb 2007
Location: Russian Federation, Orekhovo-Zyevo
Posts: 219
Reputation: 1
Default Re: [INC] LGZ 1.3.2b [REL: 11 Jan 2008] | Let's capture the zone!

put it after ShowNameTags(1);
[LDT]LuxurY is offline   Reply With Quote
Old 21/01/2008, 11:42 AM   #28
jesse989898
Big Clucker
 
Join Date: Jul 2007
Posts: 61
Reputation: 0
Default Re: [INC] LGZ 1.3.2b [REL: 11 Jan 2008] | Let's capture the zone!

i cant wait until you release the gangzone war, then i will use your script
jesse989898 is offline   Reply With Quote
Old 05/02/2008, 07:26 PM   #29
Troll
Little Clucker
 
Join Date: Apr 2007
Posts: 17
Reputation: 0
Default Re: [INC] LGZ 1.3.2b [REL: 11 Jan 2008] | Let's capture the zone!

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

1) Put GZ_LoadLGZ(); in OnGameModeInit
Code:
public OnGameModeInit()
{
GZ_LoadLGZ();
SetWorldTime(12);
...
}
2) Put GZ_SetTrueGZOwner(playerid); in OnPlayerConnect
Code:
public OnPlayerConnect(playerid)
{
GZ_SetTrueGZOwner(playerid);
...
}
3) Put GZ_DeleteZoneTemp(playerid); in OnPlayerDisconnect
Code:
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 (c) 1997-2006, ITB CompuPhase


3 Errors.
Troll is offline   Reply With Quote
Old 06/02/2008, 12:13 PM   #30
[LDT]LuxurY
Huge Clucker
 
[LDT]LuxurY's Avatar
 
Join Date: Feb 2007
Location: Russian Federation, Orekhovo-Zyevo
Posts: 219
Reputation: 1
Default Re: [INC] LGZ 1.3.2b [REL: 11 Jan 2008] | Let's capture the zone!

pawn Code:
#include <LGZ>
Done?
[LDT]LuxurY is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP! Capture the point! Flake. Help Archive 7 07/02/2010 02:20 AM
[HELP] Capture the point Flake. Help Archive 2 06/02/2010 11:47 PM
Capture The Car? DeltaAirlines12 Help Archive 3 10/09/2009 11:50 PM


All times are GMT. The time now is 09:07 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.