Jump to content

Why warpPlayerIntoVehicle not work?


Viudes

Recommended Posts

Why warpPlayerIntoVehicle not work? 

 

	function start(hitElement)
	pelaaja = hitElement
	for i,v in pairs(Kohteet) do
	Player = getLocalPlayer()
	Nimi = guiGridListGetItemText (MissionList, guiGridListGetSelectedItem (MissionList ), 1)
	KoodiNimi = guiGridListGetSelectedItem (MissionList )
	payout = guiGridListGetItemText (MissionList, guiGridListGetSelectedItem (MissionList ), 2)
	if KoodiNimi > 0 then
	Rekka = createVehicle (515,2451.3999023438,-2091.6999511719,14.699999809265,0,0,90)
	Vaunu = createVehicle (435,2460.6591796875,-2091.369140625,14.193350791931,0,0,90)
	 warpPlayerIntoVehicle (player,Rekka)
	outputChatBox("Destination: "..(Nimi).." Payout: "..payout.."$",0,255,0)
	if KoodiNimi == 1 then
        

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...