SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 15/10/2017, 01:29 PM   #1
iAmir
Banned
 
Join Date: May 2017
Location: Iran
Posts: 111
Reputation: 191
Default Real Riding WheelChair

Real Riding Wheelchair

by iAmir



Infos:

Why didn't we have some scripts like this ?
I searched the internet the only thing I found was a vehicle linked to interior to be invisible
and an object which was attached to vehicle so you could ride your wheelchair like a vehicle but you were invisible
but I decided to make this small FS so it just took about 10 or 15 minutes
it's useful for RP servers and for minigames like race ! xD

Video:

Click On Me

Screenshot:



Download:

Pastebin.com
Attached Images
File Type: jpg Untitled1.jpg (60.0 KB, 917 views)

Last edited by iAmir; 16/10/2017 at 05:37 PM.
iAmir is offline   Reply With Quote
Old 15/10/2017, 02:00 PM   #2
TopShooter2
Big Clucker
 
TopShooter2's Avatar
 
Join Date: Feb 2017
Posts: 151
Reputation: 70
Default Re: Real Riding WheelChair

Lmao good job.
TopShooter2 is offline   Reply With Quote
Old 15/10/2017, 02:00 PM   #3
elianalba
Little Clucker
 
elianalba's Avatar
 
Join Date: Oct 2017
Posts: 7
Reputation: 2
Default Re: Real Riding WheelChair

Nice work!!

Downloading...
elianalba is offline   Reply With Quote
Old 16/10/2017, 09:55 AM   #4
Ben666
Little Clucker
 
Join Date: May 2015
Posts: 12
Reputation: 32
Default Re: Real Riding WheelChair

not the best idea. try to attach the object ot an rc vehicle, set the vehicle interior to 1 to make it invisible, place an npc (with the same skin as yours) to the rc vehicle with the siting animation, and voala
Ben666 is offline   Reply With Quote
Old 16/10/2017, 10:15 AM   #5
DonaldDuck
Banned
 
Join Date: Jun 2017
Location: Phillipines
Posts: 258
Reputation: 91
Default Re: Real Riding WheelChair

You made my day lol +Rep
DonaldDuck is offline   Reply With Quote
Old 16/10/2017, 12:15 PM   #6
BlackbirdXd
Big Clucker
 
BlackbirdXd's Avatar
 
Join Date: May 2016
Location: Home
Posts: 122
Reputation: 12
Default Re: Real Riding WheelChair

Nice...
BlackbirdXd is offline   Reply With Quote
Old 16/10/2017, 01:12 PM   #7
justice96
Guest
 
Posts: n/a
Default Re: Real Riding WheelChair

It's me, riding a wheelchair like an OG.

That's really good to look, well done.
  Reply With Quote
Old 16/10/2017, 03:28 PM   #8
OmerKhan
Big Clucker
 
Join Date: Jul 2016
Posts: 76
Reputation: 3
Default Re: Real Riding WheelChair

Ok Good
OmerKhan is offline   Reply With Quote
Old 16/10/2017, 05:01 PM   #9
jlalt
Banned
 
Join Date: Oct 2014
Location: Iran
Posts: 1,266
Reputation: 366
Default Re: Real Riding WheelChair

Are you serious? using global variable for checking if player used /sit or /off lol?

PHP Code:
new WheelchairShit=0
has to be per player

PHP Code:
new WheelchairShit[MAX_PLAYERS] = {0, ...}; 
and later will need to assign the value with index.

ex

PHP Code:
WheelchairShit 1
becomes

PHP Code:
WheelchairShit[playerid] = 1
jlalt is offline   Reply With Quote
Old 16/10/2017, 05:38 PM   #10
iAmir
Banned
 
Join Date: May 2017
Location: Iran
Posts: 111
Reputation: 191
Default Re: Real Riding WheelChair

Quote:
Originally Posted by jlalt View Post
Are you serious? using global variable for checking if player used /sit or /off lol?

PHP Code:
new WheelchairShit=0
has to be per player

PHP Code:
new WheelchairShit[MAX_PLAYERS] = {0, ...}; 
and later will need to assign the value with index.

ex

PHP Code:
WheelchairShit 1
becomes

PHP Code:
WheelchairShit[playerid] = 1
It wasn’t for direct use , it was just a simple showing to code to show how it works
I only made that for tests , btw , fixed that in main post and used per player variable



Quote:
Originally Posted by Ben666 View Post
not the best idea. try to attach the object ot an rc vehicle, set the vehicle interior to 1 to make it invisible, place an npc (with the same skin as yours) to the rc vehicle with the siting animation, and voala
Do you even know about usage of memory? Do you know how much server will be fucked by using NPC for each players and set their position every single moves , why should I do that when I can use specific player for that and without using any vehicles instead of wasting tons of memories and make my server fucked in lags
iAmir is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] Driveable Wheelchair redreaper666 Filterscripts 38 31/12/2014 01:46 AM


All times are GMT. The time now is 03:39 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.