[Include] [INC]Teleport include. Make teleport in 1 line!
#1

Teleport include. Teleport in 1 Line!
This is my first include, so don't flame much, please.

[code=Using this include:]
1. Add teleinc.inc to your pawno/include directory.
2. Add #include <teleinc> under #include <a_samp> in your script.

What does those functions do?

1. SetPlayerPosEx(playerid, Float, Float:y, Float:z, Float:angle);
SetCameraBehindPlayer;
SetPlayerInterior;
ResetPlayerWeapons;

2. SetPlayerPosWV(playerid, Float, Float:y, Float:z, Float:angle);
SetPlayerPosEx;
Sets your pos with vehicle.
[/code]

Using example:
pawn Code:
if(strcmp("/test", cmdtext, true, 10) == 0)
{
  GameTextForPlayer(playerid, "Example teleport!", 5000, 4);
  SetPlayerPosWV(playerid, 0.0, 0.0, 0.0, 0.0);
  return 1;
}
Bugs:
Haven't found any. If you do reply here.

Download:
Failai.lt

Mirrors are NOT allowed

Hope you like it,
-Alive
Reply


Messages In This Thread
[INC]Teleport include. Make teleport in 1 line! - by AiVAMAN - 05.09.2009, 08:24
Re: [INC]Teleport include. Make teleport in 1 line! - by -.- Haha -.- - 05.09.2009, 13:11
Re: [INC]Teleport include. Make teleport in 1 line! - by Karlip - 05.09.2009, 14:41

Forum Jump:


Users browsing this thread: 1 Guest(s)