SA-MP Forums

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

 
 
Thread Tools Display Modes
Old 16/08/2009, 02:26 PM   #1
Wulffe
Little Clucker
 
Join Date: Mar 2009
Location: Denmark
Posts: 40
Reputation: 0
Default A little help :(



Hey - Im wanna make a /clamp script

But i dont know how to do it - Have have made this: http://www.wulffe.dk/clamp.txt

But, what can i inset insted of: SetVehicleHealth(ClampCar[playerid], 1000.0); ? So the car canīt drive ?

Wulffe is offline  
Old 16/08/2009, 02:58 PM   #2
Kyle
High-roller
 
Kyle's Avatar
 
Join Date: Mar 2009
Location: United Kingdom
Posts: 2,263
Reputation: 330
Default Re: A little help :(

Just remove the player from the vehicle if clamped

Quote:
RemovePlayerFromVehicle(playerid);
http://wiki.sa-mp.com/wiki/RemovePlayerFromVehicle
__________________
Kyle is offline  
Old 16/08/2009, 03:02 PM   #3
Wulffe
Little Clucker
 
Join Date: Mar 2009
Location: Denmark
Posts: 40
Reputation: 0
Default Re: A little help :(

No - I wanna do something so the car cant drive.

Its the point with a clamp
Wulffe is offline  
Old 16/08/2009, 06:42 PM   #4
Kyle
High-roller
 
Kyle's Avatar
 
Join Date: Mar 2009
Location: United Kingdom
Posts: 2,263
Reputation: 330
Default Re: A little help :(

i dont think its possible i duno attucaly check the god father
__________________
Kyle is offline  
Old 16/08/2009, 07:45 PM   #5
Correlli
Godfather
 
Correlli's Avatar
 
Join Date: May 2009
Location: Slovenia
Posts: 6,340
Reputation: 365
Default Re: A little help :(

Freeze the player if he enters the vehicle you want, if he is freezed then he won't be able to drive.
Correlli is offline  
 

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



All times are GMT. The time now is 09:02 PM.


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