Turfwar system?
#1

Hi!


I'm working on my turfwar system,
but having some problem/recommendations:

So if another team tries to take the turf should I delete the current
and create a new gangzone but with right color?, and flash it in right color?...

Well, I hope you understand because not that easy to explain lol! ^^...
+ When you're tired..

pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == GolfTurf)
    {
        if(gTeam[playerid] == 0)
        {
        SetTimer("GolfTurfT", 9000,false); //If the Clowns tries to take turf.
        GangZoneShowForPlayer(playerid, GolfZone, 0xFF71B896);
        GangZoneFlashForAll(GolfZone,GetPlayerColor(playerid));
        }
        if(gTeam[playerid] == 1)
        {
        SendClientMessage(playerid, Clown, "Test lol");
        }
        return 1;
    }
Timer:

pawn Код:
public GolfTurfT(playerid)
{
    GangZoneStopFlashForAll(GolfZone);
}
Iv'e figured it out so far, by my own...



Thanks a lot for help, and I hope you will understand what I mean ^^..
Reply


Messages In This Thread
Turfwar system? - by davve95 - 05.04.2013, 16:35
Re: Turfwar system? - by Camorra - 05.04.2013, 16:43
Re: Turfwar system? - by davve95 - 05.04.2013, 17:11
Re : Turfwar system? - by DaRk_RaiN - 05.04.2013, 17:33
Re: Re : Turfwar system? - by davve95 - 05.04.2013, 18:37

Forum Jump:


Users browsing this thread: 1 Guest(s)