Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Where would mount script go in main text?


velgin
 Share

Recommended Posts

where would    Case "/mount"
If GetVar("Scripts\Charextras\" &GetPlayerName(Index)& ".ini","Mount","IsMounting")="Oh yes i did" Then
Call PlayerMsg(Index,"You are already on your horse", 15)
Else
Call 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 if
Exit sub

Case "/dismount"
If GetVar("Scripts\Charextras\" & GetPlayerName(Index) & ".ini","Mount","IsMounting")="Oh no you didnt" Then
Call PlayerMsg(Index,"You are already dismounted", 15)
Else
Call 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 if
Exit sub
go 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...