SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 03/05/2012, 09:08 AM   #1
Admigo
High-roller
 
Admigo's Avatar
 
Join Date: Oct 2010
Location: The Netherlands
Posts: 1,745
Reputation: 211
Default OnPlayerEnter Lock

Heey all,

How to make a lock system with a variable?
Like if player enters vehicle the players gets ejected out of vehicle so not using params.

Thanks Admigo
__________________
0.4a RC. We are waiting for you

Admigo is offline   Reply With Quote
Old 03/05/2012, 09:13 AM   #2
$$inSane
Gangsta
 
$$inSane's Avatar
 
Join Date: Feb 2012
Location: Somewhere in India
Posts: 597
Reputation: 30
Default Re: OnPlayerEnter Lock

let me give u some help but first tell me do u need smething like this:
Like when a player do /lock and get out of the car. the then rEmains loaked.
__________________
Be Honest to me !
$$inSane is offline   Reply With Quote
Old 03/05/2012, 09:16 AM   #3
Admigo
High-roller
 
Admigo's Avatar
 
Join Date: Oct 2010
Location: The Netherlands
Posts: 1,745
Reputation: 211
Default Re: OnPlayerEnter Lock

I already made a command if player leaves his car and do /lock his last car will be lock but it will be locked with params. I want to lock it with variable so if player enters vehicle he will removed from it.
__________________
0.4a RC. We are waiting for you

Admigo is offline   Reply With Quote
Old 03/05/2012, 11:29 AM   #4
MadeMan
High-roller
 
MadeMan's Avatar
 
Join Date: Jun 2007
Posts: 3,472
Reputation: 237
Default Re: OnPlayerEnter Lock

http://wiki.sa-mp.com/wiki/OnPlayerStateChange

http://wiki.sa-mp.com/wiki/RemovePlayerFromVehicle
MadeMan is offline   Reply With Quote
Old 03/05/2012, 11:31 AM   #5
Admigo
High-roller
 
Admigo's Avatar
 
Join Date: Oct 2010
Location: The Netherlands
Posts: 1,745
Reputation: 211
Default Re: OnPlayerEnter Lock

I know that,only i need to know how to make a vehicle variable for it.
__________________
0.4a RC. We are waiting for you

Admigo 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
OnPlayerEnter&ExitVehcile Super_Panda Scripting Help 3 27/12/2011 02:28 AM
OnPlayerEnter&ExitVehicle Rubennnnn Help Archive 22 07/02/2010 03:22 PM
OnPlayerEnter vehicle problem. bartje01 Help Archive 6 01/02/2010 04:46 PM
[HELP] OnPlayerEnter And OnPlayerleaveCheckPoint [SFSF]Ali Help Archive 1 15/03/2009 08:17 AM


All times are GMT. The time now is 12:29 AM.


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