05.04.2013, 16:35
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..
Timer:
Iv'e figured it out so far, by my own...
Thanks a lot for help, and I hope you will understand what I mean ^^..
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;
}
pawn Код:
public GolfTurfT(playerid)
{
GangZoneStopFlashForAll(GolfZone);
}
Thanks a lot for help, and I hope you will understand what I mean ^^..