28.07.2009, 21:59
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
i tryed to do it
but i got error's
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
Код:
{ if( !strcmp(cmdtext,"/Drift1",true )) { SetPlayerPos(playerid, -274.9351,1535.3416,75.3594); SendClientMessage(playerid,COLOR_GREEN, "Welcome To drift1"); return 1;
Код:
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; }
Код:
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.
and how dose it work so i can do it for the rest of my 15 teleports i made