SA-MP Forums Archive
territory color at start of server - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: territory color at start of server (/showthread.php?tid=264224)



territory color at start of server - nejc001 - 25.06.2011

i want to declare white color(neutral) of territory at start of server. but when i put GangZoneShowForAll(zone7,white); in public OnGameModeInit()
it doesnt work... zone is not colored.. but zone exist because i can capture it and it changes color ....
How to declare a color to territory when server starts?


Re: territory color at start of server - gimini - 25.06.2011

Show me your #define white ...

Try to put GangZoneShowForPlayer(playerid, zone7, white); into the OnPlayerConnect public


Re: territory color at start of server - nejc001 - 25.06.2011

#define white 0xFFFFFFAA

it shouldnt be in OnPlayerConnect, cuz than the color of territory will be changed for that player that connects on server in midle of game.