![]() |
LaysignNpc,GraalClassic players no wat this is
Can some1 fix this script.it is supposed to when u use it copy yourself and u can leave a message overyour head.It can block doors and stuff. This 1 works but is random.I use it and it can pick any1 in the room to copy.
// NPC made by kyouto if (playertouchsme) {toweapons Staff Sign } if (weaponfired) { putnpc laysignerror.GIF,laysign_v2.txt,players[0].x,players[0].y+1 } It looks messy and it needs a txt file to work so maybe some1 can fix it |
-=Josey=-
Hmm, do you mean something like this? NPC Code:/* NPC made by Josey Hunt Something like this? I think that would make the NPC look like the player, not sure though, I hate non pay-to-play scripting.... |
that would do it, just make a character and set his attributes just like the characters
|
Quote:
If this is for this version, just make it do this instead: NPC Code://The actual weapon, simple innit? NPC Code:This should work perfectly, though since it's untested and I haven't really gotten much experience with non-P2P scripting it might not.//laysign_v2.txt |
Quote:
1) why use P5, why nut use a string or variable or some other means to make it purly non p2p 2) was gonna say not to use functions but then again lol USE THEM :D |
umm
you can add a for loop
in the npc textfile do something like: NPC Code: for the setcharprop section, do all of the variables, not just C2, with what is in the '()'s left the same. That should work, provided you are the only person standing there for the clothes part....as for the message...you'd have to be saying it when you fire the weapon, and add it in the function as well, or you'd have to make a big huge menu that wouldnt be worth the trouble. |
Re: umm
Quote:
Quote:
|
Is this P2P? If so, you should use putnpc2...I have been "discovering" P2P ad much as i can recently, and omi its leet...for example you could make a sign that is placed and contains the text that you typed...However I think Stefan should add a eval(string) command for if you have #b or line breaks so the sign it will recognize them...:-/. You could also just use [wraptext or #e()] and for commands to make signs work right. Very cool indeed...:)
|
| All times are GMT +2. The time now is 09:21 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.