How to let players enter tram as driver?
#1

I have this porblem for many months, but i need to fix it. All serve players can enter the tram only as passengers, but how to enter it as driver? This happens only with tram! Brownstreak and another trains work fine. SO, what chall i do? Thank you!
Reply
#2

Iff you want to make it yourself use:
pawn Код:
PutPlayerInVehicle(playerid, vehicleid, 0);
If you do some coding with that function, your players should able to drive in a tram.
Reply
#3

Quote:
Originally Posted by [PC]henkie[NL]
Посмотреть сообщение
Iff you want to make it yourself use:
pawn Код:
PutPlayerInVehicle(playerid, vehicleid, 0);
If you do some coding with that function, your players should able to drive in a tram.
i know xd
Reply
#4

Quote:
Originally Posted by pasha97
Посмотреть сообщение
i know xd
Then why make a thread?
Reply
#5

https://sampwiki.blast.hk/wiki/SetVehicleParamsEx
https://sampwiki.blast.hk/wiki/SetVehicleParamsForPlayer

I'm not sure if it has something to do with the difference between AddStaticVehicle, AddStaticVehicleEx or CreateVehicle, but I normally use CreateVehicle, is that what you're using to spawn the vehicle?
Reply
#6

Quote:
Originally Posted by BenzoAMG
Посмотреть сообщение
https://sampwiki.blast.hk/wiki/SetVehicleParamsEx
https://sampwiki.blast.hk/wiki/SetVehicleParamsForPlayer

I'm not sure if it has something to do with the difference between AddStaticVehicle, AddStaticVehicleEx or CreateVehicle, but I normally use CreateVehicle, is that what you're using to spawn the vehicle?
i usually use createvehicle, but trains can be spawned only with AddStaticVehicle
Reply
#7

https://sampforum.blast.hk/showthread.php?tid=5041
Reply


Forum Jump:


Users browsing this thread: