31.05.2013, 16:51
Are you wanting it to put the target player in the vehicle with you? I've got a command that teleports you into a players vehicle if you want to play around with it?
EDIT:
not sure if this is what you want. I can't test as i cant get anyone online to test with me.
EDIT:
not sure if this is what you want. I can't test as i cant get anyone online to test with me.
pawn Код:
CMD:getincar(playerid,params[])
{
new target;
if(sscanf(params,"u",target))return SendClientMessage(playerid,-1,"SYNTAX: /getincar [id]");
if(!IsPlayerConnected(playerid))return SendClientMessage(playerid,-1,"Player not connected");
else
{
GetPlayerVehicleID(playerid);
PutPlayerInVehicle(target,playerid,1);
}
return 1;
}