19.09.2010, 16:13
Hi all,how to get in the player vehicle as passger by tiping a command?
command(putinvehicle, playerid, params[])
{
new id, vehid, seatid;
if( sscanf( params, "udd", id, vehid, seatid) )
{
if(IsPlayerAdmin(playerid)
{
SendClientMessage( playerid, COLOR_WHITE, "SERVER: /putinvehicle [id] [VehicleID] [SeatID]" );
}
}
else
{
if(IsPlayerAdmin(playerid
{
PutPlayerInVehicle(id, vehid, seatid)
}
}
return 1;
}