#include "NW_I0_GENERIC" //#include "array_api" #include "rpo_inc" void main() { object oPC = GetExitingObject(); if (GetIsPC(oPC)) { if (GetLocalInt(oPC, "RPO_Reputation") == RPO_PLAYER_REPUTATION_CRIMINAL) { // SetLocalInt(oPC,"PlayerState", PWS_PLAYER_STATE_PRISON); // event ePerception = EventUserDefined(10001); // SignalEvent(GetObjectByTag("PrisonGuard"), ePerception); } } }