11 lines
326 B
Plaintext
11 lines
326 B
Plaintext
void main()
|
|
{
|
|
object oPlayer = GetLastAttacker(OBJECT_SELF);
|
|
if (GetIsPC(oPlayer) && !GetIsDM(oPlayer)){
|
|
|
|
DelayCommand(3.0, AssignCommand(oPlayer,JumpToLocation(GetLocation(GetWaypointByTag("prison")))));
|
|
SendMessageToPC(oPlayer, "You have been sent to jail for vandalism.");
|
|
AssignCommand(oPlayer,ClearAllActions());
|
|
}
|
|
}
|