Injection Teleport Generator - 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: Injection Teleport Generator (
/showthread.php?tid=83261)
Injection Teleport Generator -
Injection - 24.06.2009
http://avidor.co.cc/GTA/Teleports.php
Enjoy
Re: Injection Teleport Generator -
iLinx - 24.06.2009
nice =]
Re: Injection Teleport Generator -
[HiC]TheKiller - 24.06.2009
Your missing something:
pawn Код:
if(!strcmp(cmdtext,
"/A",true
)) // Created By: http://Avidor.co.cc/GTA/Teleports.php { if(IsPlayerInAnyVehicle
(playerid
)) SetVehiclePos
(GetPlayerVehicleID
(playerid
),A,A,A
);
// You would need to type the teleport 2 times for it to actually teleport the car and the player. if(!IsPlayerInAnyVehicle
(playerid
)) SetPlayerPos
(playerid,A,A,A
);
SendClientMessage
(playerid,A,
"A");
return 1;
}
You should also add the SetPlayerPos if the player is in the vehicle
.