GangZone help [REP++++++]
#1

Код:
new GZ_ZONE2;
new GZ_ZONE1;

// Team 1 Team1
// Team 2 Team2

main()
{
	print("\n----------------------------------");
	print("GangZone Test);
	print("----------------------------------");
}

new PAccount[MAX_PLAYERS];//Account saved or not

enum pInfo
{
	pPass[64],
	pAdmin,
	pMoney,
	pScore,
	pTeam,
	pClass,
}
new Player[MAX_PLAYERS][pInfo];

public OnGameModeInit()
{



	GZ_ZONE1 = GangZoneCreate(-343,75,2582,03125,-140,625,2824,21875);
	GangZoneShowForAll(GZ_ZONE1, 0x0080FF96);

	GZ_ZONE2 = GangZoneCreate(-359,375,988,28125,78,125,1226,5625);
	GangZoneShowForAll(GZ_ZONE2, 0xFF000096);
I get those errors

Quote:

C:\Users\CC\Desktop\Server\test\gamemodes\satdm.pw n(46) : warning 202: number of arguments does not match definition
C:\Users\CC\Desktop\Server\test\gamemodes\satdm.pw n(46) : warning 202: number of arguments does not match definition
C:\Users\CC\Desktop\Server\test\gamemodes\satdm.pw n(46) : warning 202: number of arguments does not match definition
C:\Users\CC\Desktop\Server\test\gamemodes\satdm.pw n(46) : warning 202: number of arguments does not match definition
C:\Users\CC\Desktop\Server\test\gamemodes\satdm.pw n(49) : warning 202: number of arguments does not match definition
C:\Users\CC\Desktop\Server\test\gamemodes\satdm.pw n(49) : warning 202: number of arguments does not match definition
C:\Users\CC\Desktop\Server\test\gamemodes\satdm.pw n(49) : warning 202: number of arguments does not match definition
C:\Users\CC\Desktop\Server\test\gamemodes\satdm.pw n(49) : warning 202: number of arguments does not match definition

Reply
#2

Код:
GZ_ZONE1 = GangZoneCreate(-343.75,2582.03125,-140.625,2824.21875);
GZ_ZONE2 = GangZoneCreate(-359.375,988.28125,78.125,1226.5625);
the problem is in the commas ',' coordinates use the punctuation mark '.' SO -343,75, some ther coord - bad. -343.75, some other coord - good.
Reply
#3

No warnings or errors i will test it now thanks reped +
Reply
#4

They are not appearing on map where should i put GangZoneShowForAll on player spawn or idk ?
Reply
#5

Quote:
Originally Posted by Gogeta101
Посмотреть сообщение
They are not appearing on map where should i put GangZoneShowForAll on player spawn or idk ?
put GangZoneShowForPlayer in OnPlayerSpawn
Reply
#6

Worked thanks
Reply
#7

Quote:
Originally Posted by MarkoN
Посмотреть сообщение
Код:
GZ_ZONE1 = GangZoneCreate(-343.75,2582.03125,-140.625,2824.21875);
GZ_ZONE2 = GangZoneCreate(-359.375,988.28125,78.125,1226.5625);
the problem is in the commas ',' coordinates use the punctuation mark '.' SO -343,75, some ther coord - bad. -343.75, some other coord - good.
Are they just bad if it starts with a comma in the beginning?.
Or how do you know it they're bad or not?.

I'm using a program that creating my gang zones.
I think it's named Extreme vehicle plotter if I remember right...

That will give me a error that says it's wrong with the coordinates. I guess it's has to do with that thing you posted.

Cheers.
Reply
#8

Quote:
Originally Posted by davve95
Посмотреть сообщение
Are they just bad if it starts with a comma in the beginning?.

I'm using a program that creating my gang zones.
I think it's named Extreme vehicle plotter if I remember right...

That will give me a error that says it's wrong with coordinates. I guess it's has to do with that thing you posted.

Cheers.
Cheers REP +
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)