04.08.2010, 16:28
DRIFT_HUNTER, that has to be the stupidest suggestion I have ever seen.
pawn Code:
dcmd_incar(playerid,params[])
{
if(PlayerInfo[playerid][Level] >= 2) {
new Driver,Seat,Passenger;
if (sscanf(params,"uud",Driver,Passenger,Seat))
{
SendClientMessage(playerid,0xFF0000FF, "Usage: \"/incar <PlayerID Driver> <PlayerID Passenger> <Seat>\"");
}
else
{
new VehDr;
VehDr = GetPlayerVehicleID(Driver);
if (VehDr>0)
{
PutPlayerInVehicle(Passenger,VehDr,Seat);
}
}
return 1;
}