[HELP]Color of gangzone isnt shown
#1

http://postimg.org/image/pnpjgyi6p/

Here, ive marked white color on that zone, but the color in radar isnt shown
Here is the code

Код:
new copszone;

public OnGameModeInit()
{
copszone = GangZoneCreate(1448,034, -1741,078, 1535,499, -1610,802);
return 1;
}

public OnPlayerConnect()
{
GangZoneShowForPlayer(playerid, copszone, -1);
return 1;
}
Idk whats wrong with it,
Please help
Reply
#2

hmm rather than using -1, try to do this 0xFF80FF76 or codes like this

GangZoneShowForPlayer(playerid, copszone, 0xFF80FF76);
Reply
#3

Quote:
Originally Posted by verlaj
Посмотреть сообщение
hmm rather than using -1, try to do this 0xFF80FF76 or codes like this

GangZoneShowForPlayer(playerid, copszone, 0xFF80FF76);
Still not working :/
Reply
#4

pawn Код:
GangZoneShowForAll(copszone, 0x00FF0083);
Or what player are you trying to show it to.
Try showforall first...
Reply
#5

try this but when player spawn

Код:
public OnPlayerSpawn(playerid)
{
    GangZoneShowForPlayer(playerid, copszone, -1);
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)