Thread: Tilesets
View Single Post
  #31  
Old 03-02-2009, 04:16 AM
xfazex xfazex is offline
Registered User
Join Date: Feb 2009
Location: Eastern Shore, Maryland USA
Posts: 81
xfazex is an unknown quantity at this point
Send a message via AIM to xfazex Send a message via MSN to xfazex Send a message via Yahoo to xfazex
Quote:
Originally Posted by Rufus View Post
Make sure your levels and tileset are uploaded, create a Weapon NPC named something like "-Tiles" and add something like this in it.

PHP Code:
//#CLIENTSIDE
function onCreated() {
  
addtiledef("faze-tileset.png","dem_",1);

Make sure you add the weapon NPC to everyone, which is usually done by Control-NPC in the first button of NC.
So just a normal WNPC? Alright, I already used the control-npc for my emoticons script. I assume I can just copy that text, make another and just replace the weapon name? I forget how that script looks offhand.
Reply With Quote