02.04.2010, 13:38
Here:
Then:
+10.0 = a little float.You can modifly it.
And:
yourcolor = insert what color you want
Код:
#include <a_samp> new gangzone1; new gangzone2; new gangzone3; new gangzone4;
Код:
public OnGameModeInit() { gangzone1 = GangZoneCreate(2032.4720,1353.5490,2032.4720+10.0,1343.5490+10.0); gangzone2 = GangZoneCreate(2032.3799,1343.4668,2032.3799+10.0,1343.4668+10.0); gangzone3 = GangZoneCreate(2037.0071,1343.5375,2037.0071+10.0.0,1343.5475+10.0); gangzone4 = GangZoneCreate(2037.1610,1353.3401,2037.1610+10.0,1353.3401+10.0); return 1; }
And:
Код:
public OnPlayerSpawn(playerid) { GangZoneShowForAll(gangzone1,yourcolor); GangZoneShowForAll(gangzone2,yourcolor); GangZoneShowForAll(gangzone3,yourcolor); GangZoneShowForAll(gangzone4,yourcolor); return 1; }