SA-MP Forums Archive
need help with teles - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: need help with teles (/showthread.php?tid=252440)



need help with teles - Coles - 01.05.2011

hey i started today my own SA-MP server i have put it online but i do not know how to make teleports i seem to get an error every way or thing i try i follow all guides and i just seem to stuff it up some how i just need some one that can show me threw team viewer or talk me threw on Skype or msn

i just plan the server for having a bit of fun with my friends and i want teleports

so please pm me or post below i would be ever so grateful

and i also need and admin script made ill make that when i figure it out or something


Re: need help with teles - Vero - 01.05.2011

What type of teleports Interiors or General places around the map?


Re: need help with teles - Coles - 01.05.2011

just teleports like lvair, lsair, sfair, lv, ls, sf, bigear, there all out side just spread around map to make it easyer to get to places

no interiors just general places


Re: need help with teles - Vero - 01.05.2011

Give me a minute and i will make one for you here at it's simplest form.


Re: need help with teles - Coles - 01.05.2011

and the part if there a passenger it takes them out of car instead of taking car with them and if driver take passengers or something


Re: need help with teles - Vero - 01.05.2011

Well here is a basic teleport command, but you can spice it up by using Dialog Styles ect

pawn Код:
command(ls, playerid, params[]) // change the ls to whatever command you want
{
    SendClientMessage( playerid, COLOUR, "You are teleporting to LS" ); // remember to change the colour!
    SetPlayerPos( playerid, -100.0355, -1632.1141, 3.4709); // Change the co-ords to your position
    SetPlayerVirtualWorld( playerid, 0 );
    return 1;
}



Re: need help with teles - Coles - 01.05.2011

um under where do i place this code to do you think you could show me with team viewer


Re: need help with teles - Vero - 01.05.2011

Just place it at the bottom of your script, that's what I do and it works for me :L


Re: need help with teles - Coles - 01.05.2011

so not under any playercommand?


Re: need help with teles - Vero - 01.05.2011

I guess it depends what script you use and how you code. For me, it works when I put it at the bottom of my script. Good Luck!