From 3a0174f242798b42b82b196c9c665abc65d323f3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 15 Nov 2014 15:16:44 +0300 Subject: Impliment script command restoreCam. --- src/map/script.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/map/script.c') diff --git a/src/map/script.c b/src/map/script.c index 585dfec..7184707 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -102,3 +102,13 @@ BUILDIN(setCamNpc) return 0; } + +BUILDIN(restoreCam) +{ + TBL_PC *sd = script->rid2sd(st); + if (!sd) + return 1; + + send_npccommand(sd, st->oid, 3); + return 0; +} -- cgit v1.2.3-70-g09d2