30.05.2011, 18:29
pawn Код:
//en Gamemodeinit pon esto
SetTimer("AntiArmasInt", 1003, true);
//luego pon esta funciуn aparte
forward AntiArmasInt();
public AntiArmasInt()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) && GetPlayerInterior(playerid)!=0)
{
if(GetPlayerInterior(playerid)==INTERIOR_BANCO) SetPlayerArmedWeapon(i, 0);
}
}
}
// lo de INTERIOR_BANCO CAMBIALO POR EL INTERIOR QUE QUIERAS QUE NO TENGA ARMAS.