SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 03/10/2012, 02:58 PM   #1
frozen.iyan
Little Clucker
 
frozen.iyan's Avatar
 
Join Date: May 2012
Location: Indonesia
Posts: 14
Reputation: 0
Default [Help] Car Body Fix

How I Can make a commands that used to fix car's body without fix the engine.

Please help me , I'm a beginner.
frozen.iyan is offline   Reply With Quote
Old 03/10/2012, 03:01 PM   #2
rbush12
Big Clucker
 
rbush12's Avatar
 
Join Date: Jul 2012
Location: Swindon, UK
Posts: 197
Reputation: 22
Default Re: [Help] Car Body Fix

I dont think this is possible.
__________________

rbush12 is offline   Reply With Quote
Old 03/10/2012, 03:03 PM   #3
ikbenremco
Huge Clucker
 
Join Date: Dec 2010
Posts: 379
Reputation: 21
Default Re: [Help] Car Body Fix

That's isnt possible take a look at this :

http://wiki.sa-mp.com/wiki/RepairVehicle
ikbenremco is offline   Reply With Quote
Old 03/10/2012, 03:10 PM   #4
frozen.iyan
Little Clucker
 
frozen.iyan's Avatar
 
Join Date: May 2012
Location: Indonesia
Posts: 14
Reputation: 0
Default Re: [Help] Car Body Fix

@rbush12

there's a server in my country that can fix only body car , without the engine
frozen.iyan is offline   Reply With Quote
Old 03/10/2012, 03:15 PM   #5
[HK]Ryder[AN]
High-roller
 
[HK]Ryder[AN]'s Avatar
 
Join Date: Jan 2012
Location: New Delhi, India
Posts: 1,195
Reputation: 365
Default Re: [Help] Car Body Fix

You can use a variable and whenever a car gets damaged add damage amount to it.
Then reparthevehicle..when damage amount is below 250 u can blast car or whatevva
__________________


[HK]Ryder[AN] is offline   Reply With Quote
Old 03/10/2012, 03:36 PM   #6
Vince
Spam Machine
 
Vince's Avatar
 
Join Date: Sep 2007
Location: Belgium
Posts: 10,067
Reputation: 2660
Default Re: [Help] Car Body Fix

That seems awfully cumbersome. More like:

Get vehicle health.
RepairVehicle()
Set vehicle health.
__________________
Vince is offline   Reply With Quote
Old 11/12/2012, 08:12 AM   #7
frozen.iyan
Little Clucker
 
frozen.iyan's Avatar
 
Join Date: May 2012
Location: Indonesia
Posts: 14
Reputation: 0
Default Re: [Help] Car Body Fix

Thanks Vince , Thats Work
frozen.iyan 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
Body guard, knackworst Help Archive 13 13/12/2010 01:24 PM
car body ??? speediekiller2 Help Archive 5 10/08/2010 09:25 PM
Need help with car body XxerykxX Help Archive 19 20/02/2010 09:17 PM


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


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