30.12.2009, 02:24
pawn Код:
forward WeaponsOnStuntMap();
pawn Код:
public WeaponsOnStuntMap()
{
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(IsPlayerInArea((i), 1874.8333,1599.4434,2254.5999,2629.1636) == 1)
{
SetPlayerArmedWeapon((i), 0);
}
}
}
}
pawn Код:
public OnGameModeInit()
{
SetTimer("WeaponsOnStuntMap", 100, 1);
return 1;
}
But in the game when i enter to the area it just don't work. I can "took my weapons out" even shoot with them
Can someone help me?