![]() |
n00bie question!
arg i hate asking for this:
how do i properly use putnpc2? VvVThat dun work VvV NPC Code://#CLIENTSIDE |
you can't have two //#CLIENTSIDE
put your script in a class npc and do a putnpc2 with if (created) join classname; |
it says that there's no NPCs that use it X_X
|
PHP Code:
PHP Code:
PHP Code:
Quote:
When you join a class that has no current instances, it will then appear in the classes list, and future script updates will then update all instances. |
Aside from what Skyld posted, you are trying to use putnpc2 clientside, which is not possible.
|
Well, i can now lay down beers. however, if the level is updated after they are 'drank' they re-appear X_X here's the two scripts:
beer weapon: NPC Code: beer class: NPC Code://#CLIENTSIDE |
To get rid of them, destroy has to be called serverside.
|
HTML Code:
if(created){join beer;} |
XD don't know i was testing something
*removed* |
haha even i could do that.
|
| All times are GMT +2. The time now is 04:05 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.