04.12.2011, 12:46
Isto deve resolver o seu problema .
Coloque :
Ou crie um Timer que fique fazendo, em um tempo determinado, a verificaзгo acima .
Espero ter ajudado .
Coloque :
pawn Код:
//Na sua public OnPlayerUpdate:
if(GetPlayerInterior(playerid))
{
if(GetPlayerWeapon(playerid) == 35)
{
SetPlayerAmmo(playerid, 35, 0);
SendClientMessage(playerid, 0x33CCFFAA, "Vocк nгo pode usar Bazooka em Interiores !");
}
}
Ou crie um Timer que fique fazendo, em um tempo determinado, a verificaзгo acima .
Espero ter ajudado .