![]() |
help
hi
im used to script offline, and that all works great. But since a short time i work for a playerworld and if i test my scripts online i see much of them dont work. Can anyone tell me wich script i have to replace to make it work? like replacing if (playersays(message)) with if (playerchats&&strequals(#c,message)) |
Maybe tell us what doesn't work too...
|
Some commands work client-side and some work server-side dude, if you are using a client-side command in a server-side mode your script won't work.
Hmm, are you using some of theses? - followplayer; - playersays; - setbackpal; if yes, they are deprecated. also haven't you forgot the '//#CLIENTSIDE' ? |
Re: help
Quote:
if (playerchats&&strequals(#c,message)) All Better: NPC Code: ;) |
so without //#CLIENTSIDE
it never works? |
Quote:
|
Playerchats isn't only clientside, it works serverside too. Just not in WNPC's.
|
Quote:
|
1 Attachment(s)
This should help you out a little bit.
|
Quote:
|
Quote:
|
Quote:
NPC Code://#CLIENTSIDE It was an assumption. |
Quote:
Do you know what mean client-side and server-side? |
All times are GMT +2. The time now is 06:16 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.