Fixing my /drag system?
#1

Alright, so currently I got this gay little /drag system.

You do /drag ID and it requires you to be in the driver seat of a vehicle. By doing this it will automatically seat the person you're dragging inside, usually at the front passenger. Then (if they are cuffed), to get them out you'll have to /eject ID then they'll be uncuffed.

I believe that system sucks, so I remember a time in SAMP where officers could use /drag ID differently. If an officer had cuffed someone and did /drag ID, it would bring a /me saying "Officer Name_Name grabs ahold of the suspects cuffs to drag them" or something similar, then wherever the officer went, the dragged would follow, and they would have no control of it, they'd still be cuffed and unable to run, and where th e officer went, the dragged went.

So, how can I change my current /drag to the /drag I want it to be like.

How hard would something like this be? Ive seen it back in the day with RP servers.
Reply
#2

Код:
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid, x, y, z);
SetPlayerPos(giveplayerid,x+1,y,z);
Use this. and please post ur code so i can take look.
Reply
#3

Hmm, http://pastebin.com/M1XuR2jE

It's untested.
Reply
#4

Quote:
Originally Posted by Yamoo
Посмотреть сообщение
Hmm, http://pastebin.com/M1XuR2jE

It's untested.
LOL this is pr-rps stuff hes probably not using pr-rp gamemode.
Reply
#5

It is pr-rp stuff, but he gave us no code so i just said okay it's 2:00am i cba doing a code so i actully edited theirs and posted it.. (Saves me time, also helps).
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)