SA-MP Forums Archive
[HELP]Color of gangzone isnt shown - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP]Color of gangzone isnt shown (/showthread.php?tid=454787)



[HELP]Color of gangzone isnt shown - qazwsx - 30.07.2013

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


Re: [HELP]Color of gangzone isnt shown - verlaj - 30.07.2013

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

GangZoneShowForPlayer(playerid, copszone, 0xFF80FF76);


Re: [HELP]Color of gangzone isnt shown - qazwsx - 30.07.2013

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 :/


Re: [HELP]Color of gangzone isnt shown - RandomDude - 30.07.2013

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


Re: [HELP]Color of gangzone isnt shown - dEcooR - 30.07.2013

try this but when player spawn

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