[HELP]How Make a vehicle that nobody can enter in it?
#1

How Make a vehicle that nobody can enter in it?

Thanks
Reply
#2

Why the hell would you want that :P
Anyway use vehicle params
Reply
#3

Quote:
Originally Posted by Joe Torran C
Why the hell would you want that :P
Anyway use vehicle params
1.I want for a car deliver job
2.How i use that params
Reply
#4

Quote:
Originally Posted by eDz0r
Quote:
Originally Posted by Joe Torran C
Why the hell would you want that :P
Anyway use vehicle params
1.I want for a car deliver job
2.How i use that params
https://sampwiki.blast.hk/wiki/SetVehicleParamsForPlayer
Reply
#5

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
  if(vehicleid == id)
  {
     new Float:x, Float:y, Float:z;
     GetPlayerPos(playerid,x,y,z);
     SetPlayerPos(playerid,x,y,z);
  }
  return 1;
}
I think it's more quickly to set up. (Copied from LA-RP script)
Reply
#6

Quote:
Originally Posted by Zimon95
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
  if(vehicleid == id)
  {
     new Float:x, Float:y, Float:z;
     GetPlayerPos(playerid,x,y,z);
     SetPlayerPos(playerid,x,y,z);
  }
  return 1;
}
I think it's more quickly to set up. (Copied from LA-RP script)
SetVehicleParamsForPlayer is better
Reply
#7

Quote:
Originally Posted by Joe Torran C
Quote:
Originally Posted by eDz0r
Quote:
Originally Posted by Joe Torran C
Why the hell would you want that :P
Anyway use vehicle params
1.I want for a car deliver job
2.How i use that params
https://sampwiki.blast.hk/wiki/SetVehicleParamsForPlayer
thank you
Reply
#8

You can lock the cars, or if pJob x RemovePlayerFromVehicle ...
Reply
#9

Quote:
Originally Posted by Johnny <~~
You can lock the cars, or if pJob x RemovePlayerFromVehicle ...
It helps if you read replys aswell as first topic
As the user might not know how to modify his post and post another problem xd
Reply
#10

Yeah the params need to be added they are better.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)