Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-28-2012, 03:10 AM
Vlad1 Vlad1 is offline
Registered User
Join Date: Apr 2012
Posts: 30
Vlad1 can only hope to improve
one glitch within your house script is if a player is in jail they can enter their house and exit their house and easily get out of jail
Reply With Quote
  #2  
Old 04-28-2012, 03:33 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by Vlad1 View Post
one glitch within your house script is if a player is in jail they can enter their house and exit their house and easily get out of jail
That's not really a glitch, more a custom condition that you need to script into it yourself.

A generic check like this could be added to prevent warping:

PHP Code:
temp.lvls serveroptions.jaillevels.tokenize(",");
if (
player.level.name in temp.lvls) {
  
player.chat "You are stuck in jail! red dragons";
  return;

__________________
Quote:

Last edited by fowlplay4; 04-28-2012 at 03:50 AM..
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:12 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.