![]() |
What should be added to the commands...
a good command that could be added would be....
endfunction <functionname>; that would hel big time so you wouldnt have to end a function by using scripts inside of it...dont you guys think? |
a function ends automatically once the script inside it is over
|
Quote:
|
.
Give an example of your command in usage, pertaining to how you failed to create this function before having this command.
|
Quote:
|
Quote:
NPC Code: |
just have a variable keep track of what to show
NPC Code: |
hidesparrating <number>;
disablepause <number>; Number is where the number you want the spar rating hidden, or the pause disabled k? so.. disablepause 2; That would disable the player from using the pause button for 2 seconds.. Lets say i wanted the pause button to never work? if (playerenters || timeout){ disablepause 0.05; timeout = 0.05; } |
Quote:
|
Ummmmm...
There are 2 things that you can use... Break; or Return; they both end the function. return is probably what you are looking for... |
-=Josey=-
A command that I would love to have added would be something like: NPC Code: Maybe it's just me, because, I'm lazy. But, I'm sure I'm not the only one who hates having to open a graphics program and flip an image. |
Quote:
|
doesnt break do that then it continues with the script after the function
|
you guys dont get what im getting at...
|
Quote:
Oh, I haven't been home for the last two weeks. I was locked up. Now I'm out on bail and will be going back soon. :\ |
i understand what he wants
:D |
Quote:
|
i know about all these commands (break,continue,and return) but just dont want to use them....i like mine....:D
|
| All times are GMT +2. The time now is 09:05 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.