Horse Riding
#1

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?
Reply
#2

CreateObject(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, FloatrawDistance = 0.0)

https://sampwiki.blast.hk/wiki/ApplyAnim...nimations%26hl
Reply
#3

Quote:
Originally Posted by Escobabe
Посмотреть сообщение
CreateObject(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, FloatrawDistance = 0.0)

https://sampwiki.blast.hk/wiki/ApplyAnim...nimations%26hl
And how can I do the script?
Reply
#4

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.
Reply
#5

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)