GangZone not working
#1

I am trying to create a Gang Zone (Colored black / 0x000000AA) and show it for a player but it does not show at all in radar even in the map (Gang Zone colored black will act as a road in radar).

I successfully compile the gamemode (where the gang zone create and show was included) and received no any errors and warnings.

I ran the samp-server.exe and no indicated error (I am using nativechecker plugin) even in the server_log.txt

Here's the location of the gang zone I want to place:



I've tried other colors too but it is not working.
I also tried placing the creation of gang zone and show it to a player on a filterscript but still the same.

I don't know what is not working the Creation or Show or all of it.

Here's my code:

HTML Code:
#define COLOR_BLACK 0x000000AA
new slex_part1_zone;

public OnGameModeInit()
{
    SetGameModeText("SLEX 4.0");
    slex_part1_zone = GangZoneCreate(2903.1584, -768.6727, 3000.0000, -800.2560);
    
    return 1;
}

public OnPlayerSpawn(playerid)
{
    GangZoneShowForPlayer(playerid, slex_part1_zone, COLOR_BLACK);
    return 1;
}
Reply


Messages In This Thread
GangZone not working - by PepeTheFrog - 12.05.2020, 23:56
Re: GangZone not working - by KamilPolska - 13.05.2020, 00:38
Re: GangZone not working - by PepeTheFrog - 13.05.2020, 00:53
Re: GangZone not working - by PepeTheFrog - 13.05.2020, 01:13
Re: GangZone not working - by Shadow0707 - 13.05.2020, 06:05
Re: GangZone not working - by PepeTheFrog - 13.05.2020, 08:35

Forum Jump:


Users browsing this thread: 2 Guest(s)