GangZone not working
#5

PHP Code:
#define COLOR_BLACK 0x000000AA
new slex_part1_zone;
public 
OnPlayerConnect(playerid)
{
    
SetGameModeText("SLEX 4.0");
    
slex_part1_zone CreatePlayerGangZone(playerid2903.1584, -768.67273000.0000, -800.2560);
    
    return 
1;
}
public 
OnPlayerSpawn(playerid)
{
    
PlayerGangZoneShow(playeridslex_part1_zoneCOLOR_BLACK);
    return 
1;

this should do it.

EDIT: I tried your coordinates and it shows this.

PHP Code:
CreatePlayerGangZoneMaxXMaxY must be bigger than MinXMinYNot inversely!
CreatePlayerGangZone2903.158447, -768.6727293000.000000, -800.255981 
The error is understandable and can be easily fixed.
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)