10.01.2015, 15:44
pawn Код:
forward FreeWeapons();
public OnFilterScriptInt()
{
SetTimer("FreeWeapons",500,1);
}
public FreeWeapons()
{
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) && GetPlayerState(i) == PLAYER_STATE_PASSENGER)
{
SetPlayerArmedWeapon(i, 0);
}
}
}