![]() |
NPC Help
Hello,
Can someone tell me how to change the default message of the NPC that somebody gets when they enter the game? Also, can someone tell me how to give the NPC Server commands? For example when someone says "/staffapp" they will receive the staff application automatically. Regards |
There is no default message that players receive on login from the NPC-server. If you mean a PM, somebody must have added that to your server, it's probably in the Control-NPC script.
Use TServerPlayer.sendPM(str message) for sending players PMs. Serverside only. Example: PHP Code:
|
Quote:
PHP Code:
|
Quote:
Quote:
|
Quote:
PHP Code:
|
Quote:
Error... Script: Function setPM not found at line 2 in script of Control-NPC |
Quote:
|
| All times are GMT +2. The time now is 09:32 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.