![]() |
playerleaves?
I'm making a script for a jail and i don't know the particulars of using if (playerleaves) such as if it must be in the npc server etc, if anybody could tell me what they know and why this script doesn't work when i make an npc in the level that'd be nice.
[CODE] if (playerleaves&&isjailed) { triggeraction 0,0,serverwarp,police2test.nw,30,30; } if they have the flag isjailed i want them to be warped back |
I'm a bit confused and can't think straight, how would one do that?
|
npc in the level or in the NC?
just checking particulars :) |
npc in the level:
if (playerleaves&&isjailed) { setlevel2 police2test.nw,30.5,30; } not working |
You could always put a if (playerenters) {setlevel2 police2test.nw,30.5,30;} script in the unstuck me level.
|
Quote:
You missed a flag out. |
Quote:
Googi - World's most careless scripter. |
Quote:
|
hehe just make a system
NPC Code: or something |
Quote:
|
playerleaves is JUST like playerenters except the opposite x.X
NPC Code: It's not really particuarly hard... ---Shifter |
Just do what 2k1 does and on the main level just put a join script like
join jailchecks; and put whatever is needed |
Quote:
|
Quote:
|
Quote:
|
All times are GMT +2. The time now is 04:38 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.