11.02.2011, 18:53
To make gangznoe you have to do this :
Firts the name of the gangzone
gangzone is an exemple you could write everything you want
now in OnGameModeInit
nameofyourzone = GangZoneCreate(The X coordinate for the west side of the gangzone, The Y coordinate for the south side of the gangzone, The X coordinate for the east side of the gangzone, The Y coordinate for the north side of the gangzone)
now in OnPlayerSpawn
GangZoneShowForPlayer(playerid, Nameofyourzone, colorofyourzone);
Firts the name of the gangzone
Код:
new gangzone;
now in OnGameModeInit
nameofyourzone = GangZoneCreate(The X coordinate for the west side of the gangzone, The Y coordinate for the south side of the gangzone, The X coordinate for the east side of the gangzone, The Y coordinate for the north side of the gangzone)
Код:
gangzone = GangZoneCreate(1248.011, 2072.804, 1439.348, 2204.319)
GangZoneShowForPlayer(playerid, Nameofyourzone, colorofyourzone);
Код:
GangZoneShowForPlayer(playerid, gangzone, 0x00FF00FFF);