![]() |
Money for all!
I am trying to make a target system where you have to shoot the targets...
BUT when ever i lose or gain money it dose the same for all the other players in the room... so this is my script: PHP Code:
|
triggeraction a WNPC(like have a money handling section or such) or DNPC to handle the money, don't do it inside the level NPC.
|
Quote:
|
you need to add setshape to the serverside, inside onCreated
|
Exactly what Wan said. To explain that a bit: an npc needs a shape (setshape or setshape2) so it can be triggered.
|
Quote:
here is my script: PHP Code:
|
No, what I meant was have a WNPC like a "-System" weapon, and on the serverside:
PHP Code:
PHP Code:
|
Quote:
Quote:
|
Quote:
|
Quote:
|
Quote:
dose it have to be in a class, or can it not be in a class? |
You could use a class.. and then trigger serverside in the class..
and from there using something like System.giveMoney() etc.. |
| All times are GMT +2. The time now is 02:27 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.