velgin Posted May 17, 2009 Author Share Posted May 17, 2009 where would Case "/mount"If GetVar("Scripts\Charextras\" &GetPlayerName(Index)& ".ini","Mount","IsMounting")="Oh yes i did" ThenCall PlayerMsg(Index,"You are already on your horse", 15)ElseCall PutVar("Scripts\Charextras\" &GetPlayerName(Index)& ".ini","Mount","OriginalSpriteNumber",GetPlayerSprite(Index))Call PutVar("Scripts\Charextras\" &GetPlayerName(Index)& ".ini","Mount","IsMounting","Oh yes i did")Call SetPlayerSprite(Index, 10)call sendplayerdata(index)End ifExit subCase "/dismount"If GetVar("Scripts\Charextras\" & GetPlayerName(Index) & ".ini","Mount","IsMounting")="Oh no you didnt" ThenCall PlayerMsg(Index,"You are already dismounted", 15)ElseCall PutVar("Scripts\Charextras\" & GetPlayerName(Index) & ".ini","Mount","IsMounting","Oh no you didnt")Call SetPlayerSprite(Index, Getvar("Scripts\Charextras\" & GetPlayerName(Index) & ".ini","Mount", "OriginalSpriteNumber"))Call sendplayerdata(index)End ifExit subgo i have no clue and it does not tell and when i put it on teh main tezt how would i get it working? Link to comment Share on other sites More sharing options...
ploxie Posted May 17, 2009 Share Posted May 17, 2009 im pretty sure that it goes in the "sub command" Link to comment Share on other sites More sharing options...
velgin Posted May 17, 2009 Author Share Posted May 17, 2009 wheres sub command Link to comment Share on other sites More sharing options...
cheatking Posted May 17, 2009 Share Posted May 17, 2009 hold controll and press f now type in Sub Commands Link to comment Share on other sites More sharing options...
ploxie Posted May 17, 2009 Share Posted May 17, 2009 eeh, open your main.txtthen press CTRL - Ftype in sub command Link to comment Share on other sites More sharing options...
velgin Posted May 17, 2009 Author Share Posted May 17, 2009 ok i put it under there but it not working i put at very bottom i restarted my sever and stuff tehn went on my game i hit /mount and said not vaild command Link to comment Share on other sites More sharing options...
Admiral Refuge Posted May 17, 2009 Share Posted May 17, 2009 Check out this tutorial; it should help you: http://www.touchofdeathforums.com/smf/index.php?topic=10036.0 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