Help with player to vehicle command
#3

Quote:
Originally Posted by Zh3r0
Посмотреть сообщение
You could use

pawn Код:
new
      vPos[ 3 ],
      vStr[ 129 ];
GetVehiclePos( vehid, vPos[ 0 ], vPos[ 1 ], vPos[ 2 ] );
format( vStr, 129, "The coordinates for the vehicle are: X:%.2f Y:%.2f Z:%.2f", vPos[ 0 ], vPos[ 1 ], vPos[ 2 ] );
SendClientMessage( playerid, ~1, vStr );
Sorry if i'm wrong, but that would only tell me where the vehicle is located, but wouldnt that just tell me where the vehicle is located, not teleport the player to them? Also I don't think i specified the problem well, what happens is if i do /ptc 0 (playerid) 1 (vehicleid) it comes up with Usage: /ptc <playerid> <vehicleid>
Reply


Messages In This Thread
Help with player to vehicle command - by Boxlo_Junior - 02.05.2011, 13:21
Re: Help with player to vehicle command - by Zh3r0 - 02.05.2011, 13:30
Re: Help with player to vehicle command - by Boxlo_Junior - 02.05.2011, 13:40

Forum Jump:


Users browsing this thread: 1 Guest(s)