Hello I wanted to ask if there is a way to know in that slot I find myself being in a vehicle
try with
MessagePlayer (vehicle. Slot+ "", player);
and with
MessagePlayer (player. PutInVehicleSlot+ "", player);
It is to get a player to a vehicle but anyway I wanted to be sure lol ;D
is what I want to know as show in that slot I find inside a vehicle
Thank you ;) ;)
I can't really understand your English, but if you're asking about putting a player in a vehicle, the function is PutInVehicleSlot( vehicle_instance, slot_integer ), and to find out if a slot in a vehicle is free or not, you can use vehicle.GetOccupant( slot_integer ).
Quote from: Xmair on Jul 12, 2016, 04:55 AMI can't really understand your English, but if you're asking about putting a player in a vehicle, the function is PutInVehicleSlot( vehicle_instance, slot_integer ), and to find out if a slot in a vehicle is free or not, you can use vehicle.GetOccupant( slot_integer ).
;DThank you very much bro and sorry for the English is my language is not English is Spanish and use the bing translator so that I can understand a little better ;)
Quote from: LuisModsHD on Jul 12, 2016, 05:47 AMQuote from: Xmair on Jul 12, 2016, 04:55 AMI can't really understand your English, but if you're asking about putting a player in a vehicle, the function is PutInVehicleSlot( vehicle_instance, slot_integer ), and to find out if a slot in a vehicle is free or not, you can use vehicle.GetOccupant( slot_integer ).
;DThank you very much bro and sorry for the English is my language is not English is Spanish and use the bing translator so that I can understand a little better ;)
Use google translator, it's better.
If you want vehicle slots then create table vehicleslots name slots on register put player.name there and slots = 0 and on playerbuycar SetSlots( player,GetSlots( player ) + 1;
And check on player buycar if ( GetSlots( player ) == 3 ) Message( "You cannot buy car more than 3 Slots " );
And create setslots getslots yourself
Quote from: Finch Real on Jul 12, 2016, 06:16 AMIf you want vehicle slots then create table vehicleslots name slots on register put player.name there and slots = 0 and on playerbuycar SetSlots( player,GetSlots( player ) + 1;
And check on player buycar if ( GetSlots( player ) == 3 ) Message( "You cannot buy car more than 3 Slots " );
And create setslots getslots yourself
What? ...
He did not meant that....
Quote from: Thijn on Jul 12, 2016, 06:17 AMQuote from: Finch Real on Jul 12, 2016, 06:16 AMIf you want vehicle slots then create table vehicleslots name slots on register put player.name there and slots = 0 and on playerbuycar SetSlots( player,GetSlots( player ) + 1;
And check on player buycar if ( GetSlots( player ) == 3 ) Message( "You cannot buy car more than 3 Slots " );
And create setslots getslots yourself
What? ...
We need some translators!
Now we're sure he's Finch.
I Dunno What he has Asked for I thought he is asking for vehicle slots and
@Thijn i was giving him some example on how to create slots i am from mob or else i script the whole code
Quote from: Finch Real on Jul 12, 2016, 01:36 PMI Dunno What he has Asked for I thought he is asking for vehicle slots and @Thijn i was giving him some example on how to create slots i am from mob or else i script the whole code
He was talking about slots, as in the seats in a car. I don't see how that has anything to do with max owned vehicles :P
Well in the VKs official server you get [I don't remember] 'slots' that you can keep any vehicle into
Well i have question as thijn said He was asking for seats slots Can't it be more than 4 slots in any car or in custom car?
Quote from: Finch Real on Jul 15, 2016, 11:57 AMWell i have question as thijn said He was asking for seats slots Can't it be more than 4 slots in any car or in custom car?
if you make it like that, then yes.
Because as i know while creating my project gta pak i have added cars wih mvl in which 4x4 car has 5 seats which means 5 mans cañ sit in it
Quote from: Finch Real on Jul 15, 2016, 12:55 PMBecause as i know while creating my project gta pak i have added cars wih mvl in which 4x4 car has 5 seats which means 5 mans cañ sit in it
As I said, if you make it like that, it can handle x seats. Does not depend on MVL I guess.
Quote from: Finch Real on Jul 15, 2016, 12:55 PM4x4 car has 5 seats which means 5 mans cañ sit in it
Why are women not allowed to sit in your car?
Quote from: Murdock on Jul 15, 2016, 04:52 PMQuote from: Finch Real on Jul 15, 2016, 12:55 PM4x4 car has 5 seats which means 5 mans cañ sit in it
Why are women not allowed to sit in your car?
Because this may cause unexpected side effects with the men.