SA-MP Forums

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

 
 
Thread Tools Display Modes
Old 22/11/2010, 02:30 PM   #11
The_Moddler
High-roller
 
The_Moddler's Avatar
 
Join Date: Jan 2010
Location: In my house.
Posts: 1,137
Reputation: 3
Default Re: Exit allowance

Well, have you tryed this?

pawn Code:
public OnPlayerExitVehicle(playerid, vehicleid)
{
    PutPlayerInVehicle(playerid, vehicleid, 0);
    return 1;
}

Or maybe..

pawn Code:
public OnPlayerExitVehicle(playerid, vehicleid)
{
    TogglePlayerControllable(playerid, false);
    TogglePlayerControllable(playerid, true);
    return 1;
}

EDIT:

Got it!

pawn Code:
public OnPlayerExitVehicle(playerid, vehicleid)
{
    ClearAnimations(playerid), PutPlayerInVehicle(playerid, vehicleid, 0);
    return 1;
}
__________________
The_Moddler is offline  
Old 22/11/2010, 03:36 PM   #12
GaGlets(R)
Gangsta
 
GaGlets(R)'s Avatar
 
Join Date: Oct 2009
Posts: 855
Reputation: 3
Default Re: Exit allowance

Quote:
Originally Posted by The_Moddler View Post
Well, have you tryed this?
Got it!

pawn Code:
public OnPlayerExitVehicle(playerid, vehicleid)
{
    ClearAnimations(playerid), PutPlayerInVehicle(playerid, vehicleid, 0);
    return 1;
}
Cheers man.. Thumbs up for you..
GaGlets(R) 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
I can't exit Laur13 Help Archive 5 03/04/2010 06:17 PM
help on exit nati558866 Help Archive 6 24/02/2010 08:40 AM
Help with /exit cmd scott1 Help Archive 10 10/02/2010 05:58 PM
Help /exit plz Anabol Help Archive 7 26/12/2009 01:03 PM
help /exit hotwheels Help Archive 6 17/04/2009 11:26 PM


All times are GMT. The time now is 04:28 PM.


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