22.06.2011, 15:40
pawn Код:
new tempo[MAX_PLAYERS];
forward TimerArmas();
if (pickupid == PickupGangsters[3])
{
if(tempo[playerid] == 0)
{
tempo[playerid] = 1;
SetTimer("TimerArmas" , 6000, true);
GivePlayerWeapon(playerid,24,70);
}
else
{
SendClientMessage(playerid, cor, "Vocк tem que esperar para pegar as armas");
}
}
public TimerArmas()
{
new playerid;
contar[playerid]=0;
return 1;
}