![]() |
|
Turfing - Printable Version +- Las Venturas Playground (https://forum.sa-mp.nl) +-- Forum: Main Talk (https://forum.sa-mp.nl/forum-3.html) +--- Forum: Development (https://forum.sa-mp.nl/forum-16.html) +--- Thread: Turfing (/thread-33863.html) |
Turfing - TvP]AaYaNKhaLiD.eXe - 04-02-2017 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 MinX,Float MinY,Float MaxX,Float MaxY,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. RE: Turfing - LukaZ - 04-02-2017 And we can change the name of the gangs? RE: Turfing - Starboy - 04-23-2017 (04-02-2017, 05:23 AM)TvP]AaYaNKhaLiD.eXe Wrote: This all i Scripted and tested. i can't stand this code RE: Turfing - Holsje - 04-24-2017 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/playground/blob/master/CONTRIBUTE.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. |