25.03.2013, 12:05
Create a variable
pawn Код:
// ontop of script under includes
new bool:IsInOfficeBuilding[MAX_PLAYERS];
// In the code you provided
IsInOfficeBuilding[playerid] = true;
// now use onplayergivedamage to check if he is in the building, if so he will die.
// also use IsInOfficeBuilding[playerid] = false; when he exits the building.

