09.07.2010, 00:24
Is it possible to disable all ammunation enter/exits but keep all other places enterable?
public OnPlayerUpdate(playerid)
{
new interiordkn ;
interiordkn = GetPlayerInterior(playerid)
if(interiordkn == 1 || interiordkn == 4 || interiordkn == 6 || interiordkn == 7)
{
/* FUNCTION HERE */
SetPlayerHealth(playerid,0);
}
return 1;
}
public OnPlayerUpdate(playerid) { new interiordkn ; interiordkn = GetPlayerInterior(playerid) if(interiordkn == 1) { /* FUNCTION HERE */ SetPlayerPos(....) } return 1; }