10.03.2012, 14:42
acho melhor fazer assim.
Pois o acima dps do tempo passado o jogado podera apertar novamente e recebera + muniзгo. O meu ele pode flodar mais ele soh vai receber o tanto certo de ballas.
pawn Код:
if(PlayerInfo[playerid][pMember] == 5 && PlayerToPoint(8.0,playerid,308.1387,1120.6375,1083.8828))
{
GetPlayerName(playerid,sendername,256);
ReduceTime[playerid] = 1;
format(string, 256, "%s, recebeu as armas",sendername);
ProxDetector(50.0,playerid,string,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
ResetPlayerWeapon(playerid);
SafeGivePlayerWeapon(playerid, 24, 35);
SafeGivePlayerWeapon(playerid, 1, 1);
SafeGivePlayerWeapon(playerid, 5, 1);
SetTimerEx("ReduceTimer", 10000, false, "i", playerid);
}