![]() |
Help with a jail script
I need help with an npc script for the jail of my server, im trying to make it so when the player gets jailed and enters the room, it sets his nickname to Jailed, whats the script, stupidly i tried this.
//NPC made by SS Vegeta if (created) { } if (playerenters) { setnick Jailed; } Obviously it didn't work, anyone know the code? |
commands.rtf is your friend.
|
I know i've looked through the whole thing and I found nothing, talk to me on AIM because commands.rtf don't have anything on the subject. But yes I guess it is your friend!!!:D
|
Commands.rtf indeed provides the information you are looking for.
Stop posting this image with every post you make. |
Yeah but it doesn't have the command im looking for, you know how like on UN when you get jailed and your in jail your name changes to Jailed and you can't change it back, thats the script I want.:asleep:
|
It has the command you are looking for, and I just said that.
|
Whatever i'll look and i'll let you know if its not there whats ur name on AIM?
|
Please start looking for things before annoying others... you can find my AIM SN on your own, I am certain.
|
You can't just make up commands like that. :) The commands used to change your head/sword/name in-game are different than the ones used while scripting... As mentioned before, the commands.rtf will have most of the answers for you... There are also some newer commands in the newfeatures200*.txt (* = 1~to~3). But I can assure you that the command you are looking for is in the commands.rtf...
Hint: Look at the headers in the commands.rtf of each section to narrow down your search. |
Thanks guys then i guess this is the end of the thread, play my server when its done, will definitely be up by January 10th, called Dylovekia, but don't hack.
|
Quote:
|
Quote:
|
newfeatures documents? very helpful =)
|
Did you fix your script then,dude?
|
Nope so I started working on another script and I screwed THAT one up too.
Please tell me whats wrong with this code. //Npc made my SS Vegeta if (created) { } if (playerenters) { shootarrow left; } Im trying to make some booby traps in case the people in jail try to escape. |
Quote:
|
Quote:
If someone really wants to escape from jail, a single arrow isn't going to stop them... ;P |
Sigh. If you refuse to make the effort to learn, then scripting is probably not the graal development career for you.
|
Erm, sorry but nobody will script full scripts for you, learn to walk. x.x'
About that other script, read about setplayerprop #n,;. |
what if he's running away to the right?
|
fyi, directions are stored as numbers in script, and check out the player property strings,
most of scripting is not as straightforward as you seem to think, you might also want to read through npcprogramming.doc, it's not that long |
Well, I'll give your server a ride, but if that's a show of scripting abilities, then I think there'll only be one. Hell, almost makes me want to give him the scripts.
|
The future reveals... yup here it is.. Ahh ok I got it.
Your server will never make it. |
um, you guys don't need to dis way him from making a server, even if it has no chance of making it he'll still learn alot from trying, heck I learned alot about scripting and such from making my "server" a couple years ago
|
Quote:
|
Dont Post Whole Scripts
"don't post whole scripts for people" |
Quote:
Yeah "SS Vegeta" Some one might steal your l33t script :o |
Quote:
|
You guys are so annoying, instead of dissing me why don't you try answering my question.:cool:
Also do any of you know of a good pop-up stopper these things just won't quit, every time i close one another pops-up.:grrr: |
Quote:
|
I doubt this thread is of much help to anyone.
http://forums.graal2001.com/forums/i...readclosed.gif |
| All times are GMT +2. The time now is 01:12 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.