![]() |
Timming
Hi, im trying to find out how to like...
jail account minutes ive figuered out the jailing part but not the timming part, can someone help me out? :eek: |
I know what to do, Timevar I am pretty sure, is this p2p?
|
nope
nope its not p2p :(
|
~AlphaFlame~
You mean something like this...? if (playerenters || created){ toweapons *Jailed; setstring time,timevar+(insert minutes in seconds here); } if (timevar>=strtofloat(#s(time))){ setplayerprop #c,~Your time in jail has been served. You're free to go.~; setlevel onlinestartlocal.graal; destroy; } Just a quick example. |
Quote:
"what rabit?" |
probs
Hey look,
//In player System Weapon if(playerenters || timeout){ if(!hasweapon(*system)){set gotsys;toweapons *system;} if(startswith(#a,#s(server.jail,))){ tokenize #s(server.jail); setstring server.jail,; setlevel broom2.graal; } timeout=.05; } //In Staff Weapon if(playerchats && startswith(jail,#c)){ tokenize #c; setstring server.jail,#t(1); } message #a; Now How do i make the timming thing work with this script. I want it so when the staff says jail account name time EXAMPLE: jail uberex 30 |
Quote:
|
here:
NPC Code: that seems like it would work .... |
i dont mean to totally sound stupid nor is this just spam (well maybe) but doesn't that script look beautiful ...
|
~AlphaFlame~
Looks fine to me... of course, it's a bit hackable... And yea, it is beautiful... considering a bit of it came from my example... *shrugs* |
Quote:
|
~AlphaFlame~
Well, you see... you're clearing the server.jail flag after the player goes to jail... a moderately good hacker could just warp levels and tada! Out of jail. Either use a very server-laggy method and use server.#ajailed, or use tokenize and one long server. string of jailed accounts... |
Quote:
|
why not use a flag when the player is jailed and put in the system if the player enters and isjailed flag warp back and when they get out unset the jail flag?
|
~AlphaFlame~
Even a newbie hacker can hack flags... oi... |
Quote:
|
lol how ya do that?
|
*sarcasm*
press control-alt-del twice .... *sarcasm* kids do not try that at home ..... |
shut up nyght your a total retard !
|
Quote:
|
actually i was the retard and i aint afraid to admit it!
|
How Do i make it non hackable?
HOW DO I MAKE IT NON HACKABLE, no point in jailig them and them watch them come out again? :cool:
|
Conceal your jail flag as a chest in some realistic-sounding fake level...or just use RC and let the player out with the same.
|
~AlphaFlame~
To make the jail system its most non-hackable... set these: 1- flag 2- this.variable 3- string Quote:
|
---- THE ORIGINAL ENTRAVIAL ----
haha my rabbit is funny. (stop saying timming)!!!!! |
~AlphaFlame~
*smacks the original* Fine, we'll call it Timining. -- another fine example of :spam: -- |
hmm..it's best to set the account to be jailed and the time to be jailed in the same server flag, and use tokenize to seperate the two
server.jailaccount="SupersonicII" "15"; because sometimes you get a lot of lag and one flag will be set before or after the other |
Quote:
|
| All times are GMT +2. The time now is 05:42 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.