06.07.2010, 07:43
Ugh, yes, I'm making a gangwar. I need help with timers. I keep having trouble with using the timers and making the gangzone flash.
I did something like this its a rough outline:
[pawno]
public OnPlayerEnterCheckpoint
(IsPlayerInArea)
{
SetTimer(Zone, 1, 12000,); //outline again i forgot the other parts of it
}
public Zone()
{
GangZoneFlashForAll(playerid, GetPlayerColor(playerid));
}
[/pawn]
So im having trouble for when the 2 miutes are up and it stops flashing and you have won the war and capture it. But when i do enter the area it just goes straight to where i put if you capture u get money, any help
I did something like this its a rough outline:
[pawno]
public OnPlayerEnterCheckpoint
(IsPlayerInArea)
{
SetTimer(Zone, 1, 12000,); //outline again i forgot the other parts of it
}
public Zone()
{
GangZoneFlashForAll(playerid, GetPlayerColor(playerid));
}
[/pawn]
So im having trouble for when the 2 miutes are up and it stops flashing and you have won the war and capture it. But when i do enter the area it just goes straight to where i put if you capture u get money, any help