samdeath Posted May 15, 2008 Author Share Posted May 15, 2008 Well here it is.```Case 0If GetPlayerLevel(index= < 5)ThenCall Playermsg(index, "You seem to be too low level to pass through here come back when your a little stronger.", 12)If GetPlayerLevel(index= > 5)ThenEnd IfEnd IfCall Playermsg(index, "Right you seem strong enough to pass. The toll is a Go if you wish...", 12)Call Prompt(index, "Are you sure you want to go?", 12)If Yes=Call Playermsg("Ok, dont say I didnt warn you.", 12)Call SetPlayerMap(index, 11) If No=Call playermsg(index, "Ok you dont have to go if you dont want to, I know i wouldnt", 12)End IfEnd If```Its basically a scripted guard for the first area if you aren't level 5 you cant go to the next area if you are above 5, you get prompted and then if yes you pay the toll and get warped to the next area.Can someone tell me what the command is to remove an item from a players inventory please so i can use it properly,I would guess its Call RemovePlayerInvItemNum but i doubt it isAlso If there are any errors can you tell me please and then i will know for future reference, I'm pretty sure this one will work as its fairly simple compared to my last one. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now