Teleport cars
#1

can anyone help me its simple but never came to my head but how can i make like when someone teleports anywhere if they are in a car the car and them tele??



_______________________
[GDZ]leader
Reply
#2

You mean SetVehiclePos? https://sampwiki.blast.hk/wiki/SetVehiclePos
Reply
#3

Check if the player is in a vehicle, and if yes, teleport the vehicle (with the player in it).

if (IsPlayerInAnyVehicle(playerid)) SetVehiclePos(GetPlayerVehicleID(playerid), X, Y, Z);
Reply
#4

jaki i get a warning
Quote:

C:\Users\james\Desktop\serverrrrr\gamemodes\Gamemo de.pwn(572) : warning 217: loose indentation

O.o
Reply
#5

nah its ok iv fixed it thx
Reply
#6

Quote:
Originally Posted by FireCat
View Post
jaki i get a warning


O.o
AMG, dude, just go to that line and delete some spaces.. so it fits with others... thats the easiest error in whole PAWNO..
Reply
#7

amg? need a dictionary?
Reply
#8

Quote:
Originally Posted by FireCat
View Post
amg? need a dictionary?
Dude shut up, its simple replacement for OMG like Lol is replaces with Lawl so stfu.
Reply
#9

Quote:
Originally Posted by Mike_Peterson
View Post
Dude shut up, its simple replacement for OMG like Lol is replaces with Lawl so stfu.
Hey Cool Out. He Fixed It.
Reply
#10

Quote:
Originally Posted by Mike_Peterson
View Post
easiest error in whole PAWNO..
PAWNO is the editor, PAWN is the language. there are a bunch of editors, so pawno isnt the only one.
and usually a 'TAB' is used. Not a couple spaces
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)