Horse Riding - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Horse Riding (
/showthread.php?tid=642104)
Horse Riding -
Grintch - 24.09.2017
Hi guys! I want to ask u how can I make a horse riding system.
I want to take the object :
11733 as the horse
I want to apply the anim for riding a motorcycle.
How can I do it?
Re: Horse Riding -
Escobabe - 24.09.2017
CreateObject(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float

rawDistance = 0.0)
https://sampwiki.blast.hk/wiki/ApplyAnim...nimations%26hl
Re: Horse Riding -
Grintch - 24.09.2017
Quote:
Originally Posted by Escobabe
|
And how can I do the script?
Re: Horse Riding -
Kane - 24.09.2017
Can't exactly be sure but experiment around:
https://sampwiki.blast.hk/wiki/GetPlayerKeys
MoveObject.
Create a timer to get the players keys and when they're holding W, A, S, D, move their horse?
@Dignity had a horse riding system for his server if he's willing to give you insight.
Re: Horse Riding -
Dignity - 24.09.2017
Quote:
Originally Posted by Arthur Kane
@Dignity had a horse riding system for his server if he's willing to give you insight.
|
Here’s what I wrote on it a couple of months ago. Not a dig at you Arthur but at the people in that thread.
It even has an example included, so anyone with some regards of pawn and samp natives can make it work. My horse script has stamina and different speeds scripted to each horse type but once you have the base it’s easy to get to this point.
http://forum.sa-mp.com/showpost.php?...77&postcount=6
Result, after some tweaks done to Southclaw’s script:
https://*********/oY7gM_h2fdk