Injection Teleport Generator
#3

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 .
Reply


Messages In This Thread
Injection Teleport Generator - by Injection - 24.06.2009, 00:35
Re: Injection Teleport Generator - by iLinx - 24.06.2009, 00:57
Re: Injection Teleport Generator - by [HiC]TheKiller - 24.06.2009, 02:15

Forum Jump:


Users browsing this thread: 1 Guest(s)