|
|
#1 |
|
Little Clucker
![]() Join Date: Jan 2009
Posts: 10
Reputation: 0
|
I have two problems. The first one is:
How can I make vehicles so they can only be driven by certain players, like if they appear locked to other players? Someone already told me about SetVehicleParamsForPlayer, and I tried to do that, but I failed. If you have another idea please tell it, if you're sure I'm suposed to use SetVehicleParamsForPlayer, please post an example so I can see how to do it. The second question is: In multiplayer, the safehouses from single-player, are open for everyone(safehouses, Madd Dog's Mansion for example, 24/7, etc). How can I remove their entrances? I know it's possible because I've already seen servers without those entrances, but I don't know how to do it. Thanks in advance, Wheels |
|
|
|
|
#2 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Aug 2008
Posts: 1,200
Reputation: 1
|
1) Look at how to use SetVehicleParamsForPlayer in the Wiki
2) DisableInteriorEnterExits() in OnGameModeInit |
|
|
|
|
#3 |
|
Big Clucker
![]() ![]() Join Date: Feb 2009
Posts: 186
Reputation: 0
|
Read the Pen1 Topic to know how to do it for PEN1... Switch to pen1 lol :P
|
|
|
|
|
#4 | |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Aug 2008
Posts: 1,200
Reputation: 1
|
Quote:
Are you just posting random shit to get your post count up? 1) He could have a stunt server/DM/RP 2) PEN1 is old |
|
|
|
|
|
#5 |
|
Little Clucker
![]() Join Date: Jan 2009
Posts: 10
Reputation: 0
|
Thanks for the house thing.
But about the SetVehicleblablabla I checked wiki and I tried doing it, but it didnt work, thats why I was looking for someone who could post an example or something... About the Pen1, I'll try checking that. |
|
|
|
|
#6 | |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Aug 2008
Posts: 1,200
Reputation: 1
|
Quote:
Search for a simple vehicle lock system and study the code to see how to use SetVehicleParamsForPlayer |
|
|
|
|
|
#7 |
|
Little Clucker
![]() Join Date: Jan 2009
Posts: 10
Reputation: 0
|
Yeah, I'll try doing that tomorrow now I gotta sleep
![]() Well, thanks for the help. |
|
|
|
|
#8 |
|
Huge Clucker
![]() ![]() ![]() Join Date: Oct 2007
Posts: 280
Reputation: 0
|
SetVehicleParamsForPlayer(vehicleid, playerid, is-objective, is-locked);
pawn Code:
lock a car for a player: pawn Code:
|
|
|
|
|
#9 |
|
Big Clucker
![]() ![]() Join Date: Feb 2009
Posts: 186
Reputation: 0
|
Code:
Why would he want to switch to PEN1?, Code:
Are you just posting random shit to get your post count up? Code:
1) He could have a stunt server/DM/RP Code:
2) PEN1 is old ![]() And IDK about you but arguing is quite pointless in this matter. So, the moral of the story is, STFU. |
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [FilterScript] [FS] C-House - Load, and Save houses through MySQL. Quick and Easy! | Carlton | Filterscripts | 79 | 12/02/2013 02:32 PM |
| [HELP] Adding Houses and House Cars in LA-RP Gamemode | GloomY | Help Archive | 1 | 23/02/2010 06:32 AM |
| [Map] [MAP]House with cars | killer__577 | Maps | 7 | 21/01/2010 08:42 PM |
| houses + cars | 123orel321 | Help Archive | 1 | 22/08/2009 05:30 PM |