Teleporting with a vehicle
#1

So i've created some teleports for my script but it wont let me teleport and "bring" my vehicle. The vehicle stays where it was when i type the command and i get teleported.

How do i fix this?

Here is the code for the teleport:

Код:
        if (strcmp("/spawn", cmdtext, true, 10) == 0)
	{
	SetPlayerPos(playerid,-50.0743,-274.4324,5.4297); 	// Do something here
	SetPlayerFacingAngle(playerid,180.0);
	SendClientMessage(playerid,0x00FF00FF,"You have teleported to the spawnpoint");
	return 1;
Thanks in advance
Reply


Messages In This Thread
Teleporting with a vehicle - by Lanzmeister - 16.08.2011, 23:08
Re: Teleporting with a vehicle - by PRANK - 16.08.2011, 23:21
Re: Teleporting with a vehicle - by Backwardsman97 - 16.08.2011, 23:22
Re: Teleporting with a vehicle - by Lanzmeister - 17.08.2011, 00:00
Re: Teleporting with a vehicle - by PRANK - 17.08.2011, 00:13
Re: Teleporting with a vehicle - by mprofitt - 17.08.2011, 00:15
Re: Teleporting with a vehicle - by Tigerbeast11 - 17.08.2011, 00:17
Re: Teleporting with a vehicle - by JaTochNietDan - 17.08.2011, 00:21

Forum Jump:


Users browsing this thread: 1 Guest(s)