![]() |
more scripting help
(BTW thanx alot for helping me ncpserver scripting i really appreciate it i would bug someone else but i dun have anyone else to ask thats on enough 0.o you guys here in the forum are great : D )
ok my question is why won't this script work: (works fine offline 0.o) if (peltwithbush){hidelocal; say2 ahh thats gonan cost me; playerrupees=playerrupees-2; } //#CLIENTSIDE if (playerenters) {show; message taylor;} if (playertouchsme) { hidelocal; sleep 1; showlocal; } |
Re: more scripting help
Quote:
|
Re: more scripting help
NPC Code: all I did was orginize it better and made the clientside on top |
(o god i spelled gonna wrong lol *fixes*)
anywayz the only problem with making the whole thing clientside is that it doesn't take the 2 ruppes away : / and when i put that part of the script just serverside it doesn't do anything when pelt : / |
well
see the thing is
peltwithbush only works clientside I beleve... mabie if you set a string or something... otherwise I dont know how to work it... |
if (created) setshape 1,width,height;
|
Yes peltwithbush is only clientside,
stuff like bombs, arrows and thrown bushes are only accessible on client-side, may be i need to add support on server-side some day. you could do something like NPC Code: But you must add more code, to make sure the player really had the bush and is not cheating/hacking. |
ty
ok thanx i didn't think of doing it that way. for this script though i wouldn't have to use the exta code really though i dun think anyone would hack a bush to hit the door cause you lose money ;p i am just trying to make the town more interactive ya break the door you pay for it lol:D
|
Re: ty
Quote:
heh.. |
And if they have no money they are sent to jail and raped by 10 big NPC jail mates =D
|
and hitted by cops!!!
|
| All times are GMT +2. The time now is 09:00 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.