Hello There, Guest! Login or Register


Turfing
#1
Hi there,

Well i Got a Suggestion and i will share with u.I Hope u will Accept.

So Let's start:

Ok So the idea is about turfing.The Turfs like of Grove,Vagos,Ballas,aztecas etc.
We can provoke war in any Gangs Turf for example look: If any Group/gang like OK HC BB can join nay of those gangs like Grove .....
We can make headquarters of those grove things
and if any player want to join he can by pressing LALT
This is also for more players to be in 1 gang.

Code:
       public OnPlayerCommandText(playerid, cmdtext[])
{
  if(strcmp("/war",cmdtext,true,10) == 0)
  {
     GangZoneFlashForAll(gang, flashcolor);
     return 1;
  }
  return 0;
}



#define TEAM_GROVE 1
#define TEAM_BALLAS 2
#define TEAM_VAGOS 3


enum eZone
{
Float:zMinX,
Float:zMinY,
Float:zMaxX,
Float:zMaxY,
zTeam
}




new ZoneInfo[][eZone] = {
{2337.9004,-1808.8383,2590.2043,-1610.3673,TEAM_GROVE},
{2084.7,-1808.8383,2337.9004,-1610.3673,TEAM_BALLAS},
{2590.2043,-1808.8383,2842.3,-1610.3673,TEAM_VAGOS}
};
new ZoneID[sizeof(ZoneInfo)];


This all i Scripted and tested.
Reply
#2
And we can change the name of the gangs?
Reply
#3
(04-02-2017, 05:23 AM)TvP]AaYaNKhaLiD.eXe Wrote: This all i Scripted and tested.

i can't stand this code
Reply
#4
Heyy, awesome that you're into coding and willing to help LVP become better.


If you wish to contribute to LVP's playground you can read how to on github here: https://github.com/LVPlayground/playgrou...TRIBUTE.md

You'll find the repo there aswell.

Don't let the negativity of some people get in your way, we all started somewhere!


I did move the topic to development as I think that would be the right board.
Reply