25.07.2015, 11:03
pawn Код:
new CurrentInterior[MAX_PLAYERS] ;
stock SetPlayerIntEx(playerid, interior)
{
CurrentInterior[playerid] = interior;
SetPlayerInterior(playerid, interior);
return 1;
}
if(CurrentInterior[i] != GetPlayerInterior(i))
{
BanMessages(i, "Interior Hack");
}
public OnEnterExitModShop(playerid, enterexit, interiorid)
{
CurrentInterior[playerid] = interiorid;//This sets the current interior to the new interior the player has entered
return 1;
}