![]() |
setlevel2
Argh setlevel2 doesn't work at all in ANY of my scripts...
why? Is it supposed to be serverside instead of clientside? Am I doing something wrong? |
I believe it has to be done serverside.
|
Correct. Make setlevel2 serverside.
|
ok so to make the 1st half of the script clientside and the 2nd half serverside, would you do it like this?
NPC Code: |
Wait scripts are serverside by default, right? If that's true, then my script SHOULD work...
here it is, plz help! NPC Code: |
i dont see a problem, if it is setlevel2 shouldnt it be like, setlevel2 level,x,y;?
|
NPC Code: If I am not mistaken, use freezeplayer2; and unfreezeplayer; in clientside scripts. I don't think Freezeplayer time; works in clientside scripts. I could be wrong though. |
Quote:
|
Ok let me go try it out...
|
Hmm...I tried this:
NPC Code: But it didn't work...it froze me for 10 seconds, but it didn't say "we're here" and it didn't change the level.. |
use disabledefmovement and enabledefmovement. I think those freeze and unfreeze the player.
|
Use setlevel2! I don't think setlevel is supported by the npcserver.
NPC Code: |
Thanks Boco, lemme go try it out...
... ... Ok done let me go online and see if it works... ... ... =/ doesn't seem to work... |
What part of it doesn't work?
|
Could add debugging to the script, so it tells you where the script gets upto before it stops working...
|
Ok well how exactly would I go about doing that?
|
// NPC made by GÄ$â€*£Ÿ
if (playersays(Shard's Isle)&&strequals(#m,sit)) { setplayerprop#c,; say2 Ok, we'll be there soon.; disabledefmovement; sleep 15; enabledefmovement; say2 We're here!; sleep 0.05; setlevel shipinside2.graal; } if (!strequals(#m,sit)&&playersays(Shard's Isle)) { setplayerprop#c,; say2 Please have a seat first.; } that works, i tested it and it did work |
Quote:
NPC Code:// NPC made by Shard IceFire If that doesn't work, bash me. Sorry then. I didn't know better! |
| All times are GMT +2. The time now is 08:07 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.