![]() |
my door broke X.x
PHP Code:
|
Besides the fact that compsdead is a flag, and just putting if (compsdead) with no event will do nothing, but in the same instant that the npc hides, it just reappears again. Try using the sleep command, although it won't be the best thing to use later on.
|
Why is this in the GS2 forum? And if I recall correctly, its "compusdead".
|
Quote:
PHP Code:
PHP Code:
|
Quote:
|
douse that mean it only works on a server? because im trying it on a surver!
|
Errr, sorry, I ment; it only works online. And if it doesnt work, I dunno.
|
I've not actually had the opportunity to test what I wrote yet, but there's not really anything wrong with that script. However, if you continue to have problems, try confining it to a single function with if and else statements. And like Ziro said, it needs to be changed from //#CLIENTSIDE to //#SERVERSIDE.
|
Quote:
Rofl, theres no such thing as //#SERVERSIDE. |
Yeah, but he doesn't know that. :D
|
am i sapost to be killing the npc people? because im killing the baddys...
and i tryed surverside but i din't work x.x |
Quote:
|
Quote:
|
Eww noobs.. there's no wait between hide; dontblock; and show;.. use sleep 3; before show; again.
|
If you're trying it on a server with GS2 enabled.
NPC Code: The graphic should automatically block which means the blockagain command really isn't needed so long as there is never a dontblock command (which also isn't needed due to the fact that once an image is hidden it shouldn't block you). HOWEVER due to the fact that some players like to delete images to bypass the the doors and get straight to the link you may want to set the shape of the image and insert the dontblock and blockagain commands. Just incase you're working on a server that for some odd reason is scripting in GS1 instead of GS2 (All new servers should be scripting in GS2, it is much more efficient and there are tons of new features so if you are scripting in GS1 then I suggest you talk to the manager of your server and have him start converting the scripts you guys have already done into GS2) then here: NPC Code: |
| All times are GMT +2. The time now is 07:27 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.