[HELP]How to Teleport Vech while in it
#1

I have a command but i want the car to teleport with the person how do i do this also so they can tele without car all i got is this

Код:
{
	if( !strcmp(cmdtext,"/Drift1",true ))
	{
		SetPlayerPos(playerid, -274.9351,1535.3416,75.3594);
		SendClientMessage(playerid,COLOR_GREEN, "Welcome To drift1");
		return 1;
i tryed to do it
Код:
	if( !strcmp(cmdtext,"/Drift1",true ))
	{
		SetPlayerPos(playerid, -274.9351,1535.3416,75.3594);
		SetVehiclePos(araba, -274.9351,1535.3416,75.3594);
    	PutPlayerInVehicle(playerid,araba,0);
    	TogglePlayerControllable(playerid,1);
		SendClientMessage(playerid,COLOR_GREEN, "Welcome To drift1");
		return 1;
	}
but i got error's
Код:
C:\Users\Caz\Desktop\sampDDRST.win32\gamemodes\lvdm.pwn(153) : error 017: undefined symbol "araba"
C:\Users\Caz\Desktop\sampDDRST.win32\gamemodes\lvdm.pwn(154) : error 017: undefined symbol "araba"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Thank you who comment And Helped

and how dose it work so i can do it for the rest of my 15 teleports i made
Reply


Messages In This Thread
[HELP]How to Teleport Vech while in it - by [DD]FlameOFDeath - 28.07.2009, 21:59
Re: [HELP]How to Teleport Vech while in it - by [DD]FlameOFDeath - 28.07.2009, 22:10
Re: [HELP]How to Teleport Vech while in it - by miceiken - 28.07.2009, 22:33
Re: [HELP]How to Teleport Vech while in it - by [DD]FlameOFDeath - 28.07.2009, 22:40
Re: [HELP]How to Teleport Vech while in it - by miceiken - 28.07.2009, 22:42

Forum Jump:


Users browsing this thread: 2 Guest(s)