Results 1 to 5 of 5

Thread: Jail time resetting possible solution.

  1. #1

    Jail time resetting possible solution.

     Spoiler
    PHP Code:
    //#CLIENTSIDE
    if(created||playerenters) {
      
    disableweapons;
      
    timeout=1;
    }

    if(
    timeout) {
      
    this.tmpTime=strtofloat(#s(client.jailtime));

      
    if(this.tmpTime>0) {
        
    this.tmpTime-=1;
        
    setstring client.jailtime,#v(this.tmpTime);
      
        
    setplayerprop #c,Seconds remaining in jail: #s(client.jailtime);
      
    } else {
        
    setplayerprop #c,Youre now free!;
        
    triggeraction 0,0,serverside,-*System,warpmain,#a;
      
    }

      
    timeout=1;
    }

    if(
    playerchats) {
      
    setplayerprop #c,; 


    I just thought that replacing this script with the current one could help..

    If it doesnt, just place back the original.

  2. #2
    No thanks I like it the way it is
    I am very blunt on my posts, but very accurate. Don't take it personally.

    Scripter, LAT, Graphics, Sounds and Tracks

  3. #3
    Philanthropist RhysJB's Avatar
    Join Date
    Aug 2015
    Location
    Australia
    Posts
    128
    Yea I don't think a new script in necessary, I like seeing people complain about getting their time reset =]
    IGN: Rhys
    Discord: Rhys #5755

  4. #4
    Hi Schmaurf Doorway Zeppelin, nice thread!
    1.) Whats wrong with the current jailing/jail we have?
    2.) You should use/learn Gscript2 instead of Gscript for online use though. Not saying Gscript is bad, just we prefer to use Gscript 2 because its cleaner/organized and allows function creation as well as public functions.

  5. #5
    Quote Originally Posted by dereklarue View Post
    Hi Schmaurf Doorway Zeppelin, nice thread!
    1.) Whats wrong with the current jailing/jail we have?
    2.) You should use/learn Gscript2 instead of Gscript for online use though. Not saying Gscript is bad, just we prefer to use Gscript 2 because its cleaner/organized and allows function creation as well as public functions.
    1) The jail time resets, after the "x" time given to the player ends.

    2) I would, but consindering that I have no time and that learning Gs2 is not useful( It wont help anyone out in life, no one uses GS, only graal), I dont learn GS2, just used my knowledge of GS1 and created that script.. use it if you want to, or just let the current one be.

    - - - Updated - - -

    Quote Originally Posted by Draxx View Post
    No thanks I like it the way it is
    did you even understand what i wrote?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •